TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Codify: native coding environment for iPad

545 pointsby fdbover 13 years ago

44 comments

stephthover 13 years ago
This could effectively be a programming sketchbook - which is not a new idea (see the Processing IDE), but this integrates within a device that's basically the digital equivalent of a notebook. This is such an amazing and beautiful concept.<p>Say hello to the future. We don't have <i>hoverboards</i>, but we have <i>codebooks</i> - where sketches come to interactive life within its pages!
评论 #3162283 未加载
jonbroover 13 years ago
yes yes, a thousand times yes. There is some serious misinformation in this thread though. Apple has allow interpreters on the phone for a while, and the remaining restriction is that you can't download code or bring code in through the app document directory. This app breaks neither of these restrictions. In fact, there have been other lua interpreters running on the ios for a while now, see: <a href="http://www.mobileappsystems.com/products/iluabox" rel="nofollow">http://www.mobileappsystems.com/products/iluabox</a><p>The difference with this app is that the ide is really a labor of love, and it is super fun to code in. Not that iLuaBox isn't, but all of the little features for tweaking colors and editing sprites are brilliant. The graphics and audio engine don't hurt either.<p>For those complaining that there isn't a companion engine that you can take the code out of codify and release actual games, you should take a look a corona. The api in codify is not so big that you wouldn't be able to clone anything that you made in it to another platform relatively easily. I do agree that there should be more lua based gl engines for iphone though. I am working on one, but as of yet it is totally for my own use, but only by virtue of the fact that it doesn't come with nice build scripts.<p>The other thing that some commenters miss is that you can use copy and paste in this app. That will open the gates to sharing code, it is as easy as: select all, copy, switch to safari, go to pastebin, send link to someone else. I suspect that some of the time the app spent in approval was them thinking about that.<p>-- edit for not being a jerk to iluabox
评论 #3163874 未加载
评论 #3162376 未加载
评论 #3162438 未加载
评论 #3163591 未加载
评论 #3162617 未加载
greggmanover 13 years ago
This app goes against the iOS Devloper Program License Terms.<p>They specifically state no code or scripts may be executed period unless (a) they bundled in the application's package or (b) use WebKit and WebKit's JavaScript<p>If Apple is relaxing their policies it would be good to know. Lots of others would like to write apps like this but were told they would be banned.<p>Maybe they are getting around it by running Lua in JavaScript in WebKit?
评论 #3162210 未加载
评论 #3162017 未加载
评论 #3161891 未加载
评论 #3161967 未加载
评论 #3161715 未加载
评论 #3161839 未加载
greatquuxover 13 years ago
I thought Apple would never approve any type of simulator, virtual machine, or app creation platform for iOS itself, since it could be used to generate apps that might not conform with their guidelines. How did they get around this?
评论 #3160865 未加载
评论 #3160832 未加载
评论 #3161085 未加载
评论 #3160822 未加载
cagefaceover 13 years ago
It's great to see tools like this start to emerge on iOS but the new 11" MBA is only slightly more trouble to lug around but is infinitely more useful as a development tool than I suspect a tablet will ever be.
评论 #3161366 未加载
评论 #3161464 未加载
评论 #3161398 未加载
评论 #3161360 未加载
评论 #3161944 未加载
评论 #3161365 未加载
gojomoover 13 years ago
Notably, this fits into YC's "Request for Startups #5: Development on Handlhelds":<p><a href="http://ycombinator.com/rfs5.html" rel="nofollow">http://ycombinator.com/rfs5.html</a>
评论 #3162288 未加载
评论 #3161181 未加载
评论 #3163999 未加载
评论 #3161701 未加载
karpathyover 13 years ago
I made a simple particle simulation in Codify in around 30 minutes: <a href="http://www.youtube.com/watch?v=QEqTvRd8qMM" rel="nofollow">http://www.youtube.com/watch?v=QEqTvRd8qMM</a><p>That is, 30 minutes, plus few more minutes pouring over the examples learning LUA syntax (I've never worked in it before but it's basically Python but lazier and more forgiving)<p>At times it felt a bit frustrating, as some of the code, such as p[i].x = p[i].x + p[i].vx takes forever to write because of the brackets, which are 3 taps each. I think this can be improved upon in the future.<p>Many examples are provided which is very nice. The graphics is done using opengl-like stack with pops and pushes of transformations.<p>Overall, the app is very impressive and I'd love to see these kinds of apps used in education. Kids could use it to learn programming, without having to suffer the overhead of file system etc., as on a real computer. Excellent stuff with bright future.
评论 #3163511 未加载
pshcover 13 years ago
Some gorgeous work there on making a native code-structure editor rather than a text editor. But it's still text in the end. Baby steps!
CyberFonicover 13 years ago
Chill !!!<p>This is for FUN! You're not likely to write the next Microsoft Office with Codify, but a lot of kids are going to have heaps of fun! Anyone remember Alan Kay's vision for SketchBook? This has to be the closest yet to that vision.
thepumpkin1979over 13 years ago
I can hear a Keyboard in the background... So I guess is not that easy to type code on iPad soft keyboard. It's very interesting though.
评论 #3160946 未加载
评论 #3161349 未加载
killionover 13 years ago
Somebody forgot to tell these guys that iPads are for content consumption, not creation.
评论 #3161511 未加载
评论 #3161694 未加载
评论 #3161164 未加载
评论 #3162245 未加载
评论 #3161185 未加载
评论 #3161326 未加载
psychotikover 13 years ago
&#60;aside&#62; Diehard VI/Emacs fans are still getting over their aversion to IDEs - now you're going to make them TOUCH! That'll make their heads explode! &#60;/aside&#62;
评论 #3161462 未加载
评论 #3161075 未加载
softbuilderover 13 years ago
That looks pretty cool. Real programs tend to require an awful lot of input and tweaking though. I wonder what the development cycle is like? How fast do things compile on an iPad?
评论 #3160875 未加载
seclorumover 13 years ago
I've been using moai recently, which is a cross-platform Lua-based environment for developing (mostly) 2D style games for Android and iOS, and just last night was talking to a co-developer buddy of mine about the very real possibility that we could use moai to build a moai development environment on the iPad .. and now: this.<p>So, it looks like this is very feasible, and I have to admit to instantly buying this application the moment I read this HN article .. but I haven't had any chance to grok it yet.<p>If it works out, this could be the start of a new era for iPad/iOS development - certainly my iPad is good enough for editing lua scripts, and with a delicious framework like moai around (I really, really like it) I think it would be very viable. What an exciting future we iOS developers have!
brianobushover 13 years ago
somehow my idea of the ultimate coding platform for touch interfaces would be more symbolic/graphical (eg a few of wouter's languages, see <a href="http://strlen.com/language-design-overview" rel="nofollow">http://strlen.com/language-design-overview</a> or scratch from MIT). I know there are many limitations in that approach, but nonetheless it would be neat to push (or nudge) the boundaries of the modern development style.
评论 #3161508 未加载
sidjhaover 13 years ago
Even though, my introduction to programming was through vi and notepad, often I find that when I'm trying to teach kids how to program, they're turned off by the 'clunkiness' of IDEs and compiling.<p>Imagine how amazing of an introduction to the world of programming Codify would enable for kids. Teaching computer science in elementary schools will become so much easier and fun. This looks like something kids would love to use. And perhaps, it'll enable a new wave of young hacker/entrepreneurs who'll go on to make more awesome products.
评论 #3161467 未加载
nlover 13 years ago
I wonder if Squeak will be allowed back in the AppStore now?
评论 #3161855 未加载
mwexlerover 13 years ago
Game dev is great, but I'd love to see tools like this that let do more advanced scripting in a visual fashion without the emphasis on the visual aspect, such as sprites or animation. Processing is great at displaying things, but not so great at, you know, processing.<p>Similarly, I long for an easy to use scripting language environment on the tablet itself that doesn't require one to know HTML, CSS, JQuery, etc. and is not so focused on visualization and sprites, but instead just lets you create a page or tabs, get some data, do something with the data, and display a result while impacting another service. This would empower people to create their own experiences on the tablet instead of hoping some developer hits on their exact combination of needs.<p>I know, all HN readers are super-programmers, but I think back to the old days when folks wrote simple basic programs on their C64/Atari/Apple/etc. to solve simple problems... and how that's so difficult today on PCs, but could be brought back to life in the consumer-friendly world of tablets...
评论 #3163250 未加载
aboodmanover 13 years ago
Beautiful work. Seems like this would be great for teaching kids to program.
评论 #3161296 未加载
yreadover 13 years ago
I think that touchdevelop on wp7 feels much more natural for coding on touchscreen. I hate to write on soft keyboards
评论 #3161822 未加载
mcdaidover 13 years ago
Just finished porting a javascript fractal tree generator, the javascript version is at<p><a href="http://www.mcdaid.eu/labs/codify1" rel="nofollow">http://www.mcdaid.eu/labs/codify1</a><p>and the code to run in codify is in the textarea (small)
评论 #3167543 未加载
nextparadigmsover 13 years ago
I was thinking before that something like this needs to come to Android, too. Instead of emulating ARM hardware on x86 chips, you could directly build your app on an ARM machine. I suppose you'd still have to emulate other ARM devices, but I think it will work a lot better than on x86 chips.<p>Maybe Google can work with Eclipse to port it over to ARM/Android. Developers could get hybrid devices like the Asus Transformer to code on them.
评论 #3162242 未加载
socialist_coderover 13 years ago
Wow, this looks pretty awesome. Nice job twolivesleft!
评论 #3161679 未加载
jayfuerstenbergover 13 years ago
The color picker - IDE integration is really slick!
rbxbxover 13 years ago
"Wouldn't it be nifty to have that color picker in Vim?" a friend posed the question after my showing him the video.<p>Maybe: <a href="http://www.supaspoida.com/2011/10/26/a-short-story-about-a-tweet-a-video-an-idea-and-its-execution.html" rel="nofollow">http://www.supaspoida.com/2011/10/26/a-short-story-about-a-t...</a><p>(note: I didn't develop this, just sharing it with you all)
evo_9over 13 years ago
Codify's talks about import/export functionality via email coming in an update already submitted to Apple in this thread:<p><a href="http://forums.toucharcade.com/showthread.php?p=1975221" rel="nofollow">http://forums.toucharcade.com/showthread.php?p=1975221</a><p>It will be interesting to see if Apple allows them to do this.
bstar77over 13 years ago
Reminds me of Klick &#38; Play back in the early 90's: <a href="http://en.wikipedia.org/wiki/Klik" rel="nofollow">http://en.wikipedia.org/wiki/Klik</a><p>This app looks like the perfect thing for prospective obj-c devs to get that "I gotta make something cool now" monkey off my back.
dmixover 13 years ago
As a side note. Is Lua as a language any good? Will it continue to be used in the future?
评论 #3161312 未加载
评论 #3161275 未加载
评论 #3163200 未加载
评论 #3162241 未加载
openbearover 13 years ago
Played around with it a bit, very cool.<p>I would love to see iCloud support and a desktop version. It would be awesome to have something like the Processing IDE with a sketchbook that automatically syncs between my devices (e.g. my iPad and MacBook).
jonbroover 13 years ago
this app also brought out some other options, check out paragraf where you can write glsl pixel code. <a href="http://itunes.apple.com/us/app/paragraf/id422685475?mt=8" rel="nofollow">http://itunes.apple.com/us/app/paragraf/id422685475?mt=8</a><p>It is the complete opposite in terms of ease of use, but it is still executing code. Also broken glsl code is way more likely to hard crash your phone than broken lua code.<p>There are some other options mentioned here: <a href="http://digitaltools.node3000.com/blog/3310-coding-ipad-coders-paragraf" rel="nofollow">http://digitaltools.node3000.com/blog/3310-coding-ipad-coder...</a>
jbrennanover 13 years ago
This is fantastic. How lovely would it be if Apple bought this up for iOS Xcode. I have a feeling some day there will be a way to write iOS apps on iOS, provided by Apple.
antimoraover 13 years ago
I just bought the app and it is pretty simple and cool. My wish came true. I was wondering if I could script without going to learn c objective.
评论 #3161846 未加载
efnxover 13 years ago
Why not go all the way and create a graphical programming environment? I've felt that this is long overdue.
评论 #3161224 未加载
评论 #3161106 未加载
评论 #3161385 未加载
评论 #3162333 未加载
leafoover 13 years ago
I've love to see <a href="http://moonscript.org" rel="nofollow">http://moonscript.org</a> support.
评论 #3162377 未加载
评论 #3203020 未加载
the_matover 13 years ago
I can't see writing text-based Lua scripts on an iPad as anything other than an anachronism.
navsover 13 years ago
This looks fun. Would be great in schools, even entry level Computer Science classes in Uni.
senthilnayagamover 13 years ago
Examples are good,would teach my 8 year old daughter to program in a fun way
评论 #3164723 未加载
socialist_coderover 13 years ago
My #1 feature request- support sprite sheets for animated sprites!
mojdrilover 13 years ago
Seems a smalltalk IDE-like intention. With fingers, though.
nedwinover 13 years ago
Beautifully simple single product page. I've recently become a convert to no gradients, flat buttons etc.
jshowaover 13 years ago
Great, now I need to do a bunch of screen touching along with my typing. What a waste of time.
sandiemanover 13 years ago
would be cool if it had github support
mkramlichover 13 years ago
Speaking as someone who's been around a few decades... Oh look, yet another way to create graphical games! I'll just add that to the list, near the end. It's a long list. :)<p>Purty looking, but color me not impressed. I already can sense what the constraints will be, and they aren't good. And I've gained really nothing new I couldn't already do before.
ddelonyover 13 years ago
How long until Apple shuts it down for using a language other than Objective-C?
评论 #3161197 未加载