Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simonask
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
511.
▲
by
simonask
1y ago
Well, the problem is that what you are advocating is also that knowing Latin would be a prerequisite for studying medicine, which it isn't anywhere. That's the equivalent. Doctors learn a (very limited) Latin vocabulary as they st
512.
▲
by
simonask
1y ago
That's a reasonable implementation in my opinion. It's not that complicated. You're also apparently insisting on three-letter variable names, and are using a very primitive language to boot, so I don't think you're
513.
▲
by
simonask
1y ago
This is American imperialism at its worst. I'm serious. Lots of people around the world learn programming from sources in their native language, especially early in their career, or when software development is not their actual job. En
514.
▲
by
simonask
1y ago
That also assumes that your data only needs consistency within a machine word (i.e., data types where the CPU can support atomic instructions). If you're just trying to ensure that 64 bits of data are consistent, that's fine, but
515.
▲
by
simonask
1y ago
Isn’t it pretty obvious that it’s possible to be a victim of more than specific financial circumstances or poor health? The inheritance we (don’t) get is not just monetary, it is attitude, culture, expectations, education, network, class pr
516.
▲
by
simonask
1y ago
There’s a Just World Fallacy if I ever saw one.
517.
▲
by
simonask
1y ago
The concern about state consistency applies to all error conditions, not just those that occur while holding a mutex lock. It doesn’t matter if multiple threads are running or just one - the process could be in the middle of updating a memo
518.
▲
by
simonask
1y ago
I'm sure that's nice, but it's not a game changer. You can do metaprogramming in other languages as well, and maybe those languages get it not quire as right as Nim, but it's not enough to tip the scales.
519.
▲
by
simonask
1y ago
Any time you deal with semi-trusted input, like an internal protocol or deserialization. :-)
520.
▲
by
simonask
1y ago
“Has safety features in place”? I’m sorry, not gonna cut it. I mean, Nim looks cool, but I’m not sure what it does that is substantially new. Niceties are generally not enough to foster adoption - something real has to be on the table that
521.
▲
by
simonask
1y ago
I think it's fairly useful. It means that you can convert a contiguous array to a heap with a fast O(n) read-only check instead of O(n log n) writes, so if you know that's the common case, you can detect it up front and only rever
522.
▲
by
simonask
1y ago
Can we be clear here: You are accusing people in this thread of "inorganically" bringing up Rust. The implication being that there is some shadowy group or organization coordinating the bombing of random forum threads to talk abou
523.
▲
by
simonask
1y ago
What is that link? A thread from 2017? What am I supposed to get from it?
524.
▲
by
simonask
1y ago
This is one of the wilder conspiracy theories to me, and that says a lot in 2025.
525.
▲
by
simonask
1y ago
Thanks, I’ll check it out! And don’t worry - the secret is to just spend a few hours actually trying with native speakers, and ideally some beers, and suddenly it will click. It goes both ways, and only takes a tiny bit of practice in my ex
526.
▲
by
simonask
1y ago
I think it moved to Friday some time in the 90s.
527.
▲
by
simonask
1y ago
I agree, it should be done at the project level - that is, if you care about portability, reproducibility, deployment, etc.
528.
▲
by
simonask
1y ago
The same concept exists in Danish (lørdagsslik), and I had no idea it had such a dark history. 1959 is surprisingly recent for conducting medical experiments on people without their informed consent - one of the most horrifying things imagi
529.
▲
by
simonask
1y ago
Especially the last claim seems (that code generation for C++ is worse). It's the same compiler backend in all major compilers. Do you have any examples?
530.
▲
by
simonask
1y ago
Can you give an example of what problems need workarounds here? The benefits seem pretty massive, at least on the surface. For example, you can run any system that only takes `&World` (i.e., immutable access) in parallel without breakin
531.
▲
by
simonask
1y ago
It is essential and nontrivial, but it's also the extremely bare minimum. You cannot write portable code without platform-specific and even environment-specific adaptations, like handling the presence of certain headers (looking at you
532.
▲
by
simonask
1y ago
If "portability" to you has to include incredibly esoteric architectures in 2025, then what C has to offer is probably the best you can do, but my point is it doesn't do any better on mainstream platforms either. If you are t
533.
▲
by
simonask
1y ago
Pacman solves a different problem. Cargo manages your project's dependencies, not system packages.
534.
▲
by
simonask
1y ago
Not the GP, but the biggest one is dependency management. Cargo is just extremely good. As for the language tooling itself, static and runtime analyzers in C and C++ (and these are table stakes at this point) do not come close to the level
535.
▲
by
simonask
1y ago
This is a pet peeve, so forgive me: C is not portable in practice. Almost every C program and library that does anything interesting has to be manually ported to every platform. C is portable in the least interesting way, namely that compil
536.
▲
by
simonask
1y ago
Basically all of those problems originate with the tradition of conflating pointers and object identity, which is a problem in Rust as soon as you have ambiguous ownership or incongruent access patterns. It's also very often not the be
537.
▲
by
simonask
1y ago
What year is it, 1998? Am I going crazy? I think you're making some extraordinary claims. I'd love to see some receipts. :-)
538.
▲
by
simonask
1y ago
I don't know what "woke ideology" means, and I question that anyone knows. It certainly sounds scary.
539.
▲
by
simonask
1y ago
I don't think that's a strong enough argument. Most American tech products coming from large companies have excellent translations and localization, but this does not extend to content moderation policies or even socially responsi
540.
▲
by
simonask
1y ago
I also think it's worth mentioning that it apparently affects both sides of the political spectrum. For example, a couple of years ago there were suddenly people protesting drag queens reading to children in Denmark, and it was so obvi
More ›