News for hackers. Stuff that matters.

whattidywhat

Yea yea we know. You changed the privacy policy to sell data. Many of us are just belaboring switching browsers. Some of us already have. Good riddance to what was once a great company.
Re:Porkbun partners with Proton on Friday March 14, 2025 @06:45AM (#43361298)
Not trying to demean you or them but, most people get paid actual money for doing a day or more of work
Re:A 10x Faster TypeScript on Thursday March 13, 2025 @09:42AM (#43353266)
Saying rust is unusable is pretty extreme. Tons of serious applications and infrastructure have been using it in production for years generating lots of money and preventing CVEs.

Leaking memory is sometimes not a huge issue. Missile allocation is real. Undefined behaviour, seg faults, data races, etc from edge cases slow down development.

The promise of rust isn't that it's super fast to learn but once you have you never deal with a swath of issues ever again.

And that's speaking from a deficit. Rust is an excellent language to do language development. It has arguably the best tooling for it in the ecosystem in my opinion and a vibrant community for it. Some of the most recent languages have foundations in rust. That is likely to continue going forward.

Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @01:05PM (#43345346)
Asking a compiler to understand a programmers intent for underspecified mutability is beyond the halting problem.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @01:04PM (#43345333)
Also those are two different skill sets. Writing critical sections of an OS is not the same thing as writing a compiler. And completely agree, windows to what I have read, is being deliberate and isn't doing a total rewrite at all. Thanks for chiming in so I could type less.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @01:01PM (#43345312)
Yes they said there were issues with cyclic data structures. Not really speculating just wrote it funny. I get why they chose what they did and even said I agree with it.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @01:00PM (#43345286)
I do like rust and like I said, ideally in my opinion. I also did say choosing go was more pragmatic. We are on the same page believe it or not.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @08:21AM (#43342451)
The automatic gc doesn't seem like an actual deal breaker though. They probably just didn't want to redesign a bunch of data types that assumed one existed.

I'm not arguing saying they made a bad call. I think what they did was smart with the options in front of them and whatever budget they have. The world isn't good for idealism, but it ideally could have been written in rust in my opinion.

Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @07:27AM (#43342088)
I'm not saying this to start a language war but. Look at the cognitive complexity and tooling complexity involved in a c# project. Seriously, every speed bump you hit in your ide think about how many pieces of knowledge you assemble to solve it. Similarly think about the overhead in designing both the software and tests. Think about cross platform builds and the tooling required to stand up ops infrastructure. Measure the compilation time. Think about the impedance mismatch between ts and c#.

Compare that to go. It's not even close. I see comments bickering about the size of executable files... Almost no major product cares about that within order of magnitude.

Go is a wild choice to write a compiler in. Literally in my top 10 things I never want to do. Everything else about it drove them to do it.

Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @07:19AM (#43342040)
I can see the appeal. Not having to write C# style oop probably gave the team a huge productivity boost. I bet it compiles hundreds of times faster making the team, cicd, and dev efforts substantially more productive. Cohesive integrated modern tooling is also a huge plus. Project structure is considerably simpler... I am not really a go fan but I would chose it over c# in a majority of cases as well.

I think they missed out by not going with Rust. It seems like the social factors weighed out. Probably hard to quickly assemble a rust team within msft. Again though that makes Go a practical choice. I don't see why people are so confused by it. Go is a pretty widely used and solid choice to get things done reliably and quickly these days.

Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @07:08AM (#43341967)
There should be an award for this comment.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @07:05AM (#43341948)
The compiler ensures you are writing memory safe code. Otherwise it rejects that code and helps you see the mistake you made. Why people are so upset when the compiler prevents them from building and shipping unusable code will always baffle me.
Re:A 10x Faster TypeScript on Wednesday March 12, 2025 @07:00AM (#43341914)
Not sure when your friend tried Go but for the last 5-10 years or so go has been really easy to make REST services. It's practically baked into the language but if you want it even easier there are several extremely popular libraries for it.

Go tends to have more boiler plate than other languages. So more typing work, less thinking work, less maintenance work once completed.