5 ms·
I am so freaking excited about Scala Native. I haven't been so genuinely excited and enthusiastic about something for such a long time, but Scala Native is so a
by shrugger 10y ago
I am so freaking excited about Scala Native. I haven't been so genuinely excited and enthusiastic about something for such a long time, but Scala Native is so awesome.
I feel like turning Scala into a cross-platform language is the best idea possible. I'd love to see Scala someday be able to just dump out WebAssembly, or JVM bytecode, or LLVM IR, or whatever the next "hip" format is, while keeping the language the same.
I also find it shocking how hard people are pushing Typescript when Scala.js exists. Why would you ever subject yourself to TS?!?!
- kmiroslav 10y agoThe size of the Javascript generated by Scala.js alone makes it a non starter for serious projects.
- idobai 10y agoLook at here: https://www.scala-js.org/ https://www.scala-js.org/ "The generated JavaScript is both fast and small, starting from 45kB gzipped for a full application." - 45kB... jQuery is ~80kB.
- dastbe 10y agojQuery gzipped and minified is 25kb. You're comparing raw to compressed.
- premium-concern 10y agoYeah, these tens of kilobytes of JS next to those ten badly compressed 600kB jpgs are really killing it.
- dastbe 10y agothis isn't a fair comparison. It fails to account for what happens after the files are downloaded, which is where overall js code size has an outsized effect.
- premium-concern 10y agoI think people have been including jQuery just fine for the last decade.
- dastbe 10y agoYes, but jquery is much smaller than an empty scala.js app. jquery is about 25kb gzipped and minified (the other comment used the raw size) whereas scala js is 45kb for an empty application.
- raquo 10y agoTBH, You don't use scala.js to write hello world apps. I'm much more curious how Scala.js handles a 100Kloc app, but I haven't seen any data on that.
- watchxxx 10y agoCedric, how does a 45KB js file make Scala a non-starter?
- bogomipz 10y agoWhat is Scala native? Is there a Scala that doesn't rely on the JVM for hosting?
- neverminder 10y agohttp://www.scala-native.org/ http://www.scala-native.org/