Use browser and web for websites, not applications. For apps, create native downloadable desktop software, which also work offline.
A 10x Faster TypeScript
231–240 of 943 posts
Re: A 10x Faster TypeScript
#232Earlier quoted context omitted.
Thanks for the clarification. For those of us who don't use TypeScript day to day, I feel that it is ambigious. Without clicking the link, you wouldn't know if it's about a compiler or a runtime. What if they announced a bun competitor? https://betterstack.com/community/guides/scaling-nodejs/node... .
> Without clicking the link, you wouldn't know if it's about a compiler or a runtime I mean I think generally you’d want to click the link and read the article before commenting
Re: A 10x Faster TypeScript
#233[flagged]
I wish there was a language like rust without the borrow checking and lifetimes that was also popular and lives in the same area as go. Because I think go is actually the best language in this category but it’s only the best because there is nothing else. All in all golang is not an elegant language.
Re: A 10x Faster TypeScript
#234Earlier quoted context omitted.
I wish there was a language like rust without the borrow checking and lifetimes that was also popular and lives in the same area as go. Because I think go is actually the best language in this category but it’s only the best because there is nothing else. All in all golang is not an elegant language.
Rust loses a lot of its nice properties without borrow checking and lifetimes, though. For example, resources no longer get cleaned up automatically, and the compiler no longer protects you against data races. Which in turn makes the entire language memory unsafe.
Re: A 10x Faster TypeScript
#235Earlier quoted context omitted.
Have you considered a closer to metal language to implement the compiler in like c or rust ? Have you evaluated further perf improvements ?
I don't think c or rust are really 'closer to the metal' than golang (what they're using)
C and Rust both have predictable memory behaviour, Go does not.
Re: A 10x Faster TypeScript
#236Hi folks, Daniel Rosenwasser from the TypeScript team here. We're obviously very excited to announce this! RyanCavanaugh (our dev lead) and I are around to answer any quick questions you might have. You can also tune in to the Discord AMA mentioned in the blog this upcoming Thursday.
> You can also tune in to the Discord AMA mentioned in the blog this upcoming Thursday. Will the questions and answers be posted anywhere outside of Discord after it's concluded?
Re: A 10x Faster TypeScript
#237[flagged]
Javascript is not slow because of GC or JIT (the JVM is about twice as fast in benchmarks; Go has a GC) but because JS as a language is not designed for performance. Despite all the work that V8 does it cannot perform enough analysis to recover desirable performance. The simplest example to explain is the lack of machine numbers (e.g. ints). JS doesn't have any representation for this so V8 does a lot of work to try to figure out when a number can be represented as an int, but it won't catch all cases.
As for "working solution over language politics" you are entirely pulling that out of thin air. It's not supported by the article in any way. There is discussion at https://github.com/microsoft/typescript-go/discussions/411 that mentions different points.
Re: A 10x Faster TypeScript
#238[flagged]
Re: A 10x Faster TypeScript
#239I notice this time and time again: projects start with a flexible scripting language and a promise that the performance will be sufficient. I mean, JS is pretty performant as scripting languages go and it is hard to think of any language runtimes that get more attention than the browser VMs. And generally, 90% of the things people do will run sufficiently fast in that VM. Yet projects inevitably get to the stage wher…
Software never gets rewritten in a higher level language, but software is constantly replaced by alternatives. First example that comes to mind is Discord, an Electron app that immediately and permanently killed every other voice client on the market when it launched.
Re: A 10x Faster TypeScript
#240And if it's run-time, can we expect browsers to replace V8 with this Go library?
(I realize this is a noob/naive question - apologies)