News for hackers. Stuff that matters.
Re:Flow browser passes the Acid tests by fulafel on Saturday June 13, 2020 @11:33AM (#23510139)
JS is already largely a compile target. Aside from ClojureScript, TypeScript, ReasonML etc even human authored JS is usually compiled to more legacy browser friendly JS.
Re:Flow browser passes the Acid tests by err4nt on Saturday June 13, 2020 @11:45AM (#23510230)
That's gotten trendy in the recent past, but I think you have a generation or wave of developers who literally don't realize it's an interpreted language and you can write short, very sweet vanilla JS and have it run almost everywhere without needing any ahead of time optimizations. _Modern_ JS in _modern_ engines is a dream!
Re:Flow browser passes the Acid tests by ex3ndr on Saturday June 13, 2020 @02:19PM (#23511435)
If you will try to profile your app on V8 you will find that almost everything is in binary code, not interpreted.
Re:Flow browser passes the Acid tests by kizer on Sunday June 14, 2020 @08:00AM (#23517051)
In this sense it means not requiring a precompilation step. JITing is an implementation detail; also modern engines compile to a bytecode first during interpretation.
Re:Flow browser passes the Acid tests by fulafel on Sunday June 14, 2020 @03:58AM (#23515887)
Thhis got me to look up some of the ages, for anyone else curious: ClojureScript is 9-ish year old, CoffeeScript 10+, TypeScript 7.