Hacker News new | past | comments | ask | show | jobs | submit login

a lexer/tokenizer in js. hmm. i love how we've got new fast JS engines, but really? this fast?



Modern JS engines are fast enough for many tasks not possible before. For example, I implemented AES256 and SHA256 in javascript for "security locker" website (http://www.memengo.com). I spent few days hand-optimizing the implementation to make it fast enough to encrypt user data in slow browsers like IE6, but last-generation browsers like FF3.5, Safari 4, Chrome would be fast enough even without excessive tuning.


You could still use it if you like the syntax better and just precompile it. Same deal with sass (http://sass-lang.com/).


In fact, browsers were that fast in 2006, when this was written. Not fast enough to do some things that we're doing today, but more than fast enough to parse a simple language like this.


cappuccino and all that... they got a new language with compiler all in javascript :) objective-j it is like objective-c but for javascript

http://cappuccino.org/learn/

ps: they will never do asm the way we did :)


For what it's worth, all of us have programmed 68k assembly.


then you likely feel the gap too :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: