A 10x Faster TypeScript
421–430 of 943 posts
Re: A 10x Faster TypeScript
#422Why not just work with the SWC folks and get the Rust implementation mainlined?
Re: A 10x Faster TypeScript
#423Earlier quoted context omitted.
When I read the article it was very clear, due to the compiler's in-memory graphs, that they needed a GC. (IE, as opposed to reference counting, where if you have cyclic loops, you need to manually go in and "break" the loop so memory gets reclaimed.)
> When I read the article it was very clear, due to the compiler's in-memory graphs, that they needed a GC. It's actually pretty easy to do something like this with C, just using something like an arena allocator, or honestly, leaking memory. I actually wrote a little allocator yesterday that just dumps memory into a linkedlist, it's not very complicated: http://github.com/danieltuveson/dsalloc/ You allocate wherever…
Re: A 10x Faster TypeScript
#424Earlier quoted context omitted.
This is not accusatory, but do you write your comments with AI? I checked your profile and someone else had the same question a few days ago. It's the persistent structure of "it isn't X – it's Y" with the em dash (– not -) that makes me wonder this. Nothing to add to your comment otherwise, sorry.
Sorry for being pedantic but they are using an en dash (–) not an em dash (—) which is a little strange because the latter is usually the one meant for adding information in secondary sentences—like commas and and parentheses. In addition, in most styles, you're not supposed to add spaces around it. So, I don't think the comment is AI-generated for this reason.
Re: A 10x Faster TypeScript
#425I'll give Typescript yet another go. I really like it and wish I could use it. It's just that any project I start, inevitably the sourcemap chain will go wrong and I lose the ability to run the debugger in any meaningful way.
Re: A 10x Faster TypeScript
#426I'd like to see if it makes a difference to the version of DOOM that runs in the TypeScript type system. https://news.ycombinator.com/item?id=43184291 https://www.youtube.com/watch?v=0mCsluv5FXA
Re: A 10x Faster TypeScript
#427Earlier quoted context omitted.
Maybe they'll also be distributed in WASM too, which is easier to be integrated with JavaScript codebases.
Would running WASM be any faster than running JS in V8?
Re: A 10x Faster TypeScript
#428Use browser and web for websites, not applications. For apps, create native downloadable desktop software, which also work offline.
Re: A 10x Faster TypeScript
#429Sounds like they're automatically generating Go code from ts in some amount [0]. I wonder if they will open the transpilation effort, in this way you'd create a path for other TypeScript projects to generate fast native binaries Opened discussion [1] - [0] https://github.com/microsoft/typescript-go/discussions/410 - [1] https://github.com/microsoft/typescript-go/discussions/467
Re: A 10x Faster TypeScript
#430Earlier quoted context omitted.
Hasn't Microsoft largely hitched their horse to Go these days, though (not just this project)? They even maintain their own Go compiler: https://github.com/microsoft/go It is a huge company. They can do more than one thing. C#/.NET certainly isn't dead, but I'm not sure they really care if you do use it like they once did. It's there if you find it useful. If not, that's cool too.
We're talking about a nominal amount of funding to effectively train 10s of thousands of developers. I think Microsoft can find the money if they wanted to.