Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TwentyPosts
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
TwentyPosts
3y ago
Thank you, this was a very insightful blog post!
92.
▲
by
TwentyPosts
3y ago
`async` is neither multi-threaded nor single-threaded by default. It all depends on the underlying runtime. Rust's Tokio runtime, for example, is multi-threaded by default and makes progress on several tasks at the same time by using m
93.
▲
by
TwentyPosts
3y ago
> Threads are far more heavy than async This sounds like an issue with the implementation of threads and scheduling in common operating systems, and I don't see how replicating all that functionality inside of each sufficiently larg
94.
▲
by
TwentyPosts
3y ago
Is it really though? All I personally care for when it comes to "doing multiple things at the same time" is frankly Rust's scoped threads API: Create N threads, have them perform some computations, then join them at the end o
95.
▲
by
TwentyPosts
3y ago
No? How does that even follow? That a standard should codify common expectations insofar possible (without breaking rigor) is irrelevant to whether you "should" only use standardized languages or not.
96.
▲
by
TwentyPosts
3y ago
>Pixel camera was underwhelming Are we looking at the same phone? Everyone I know loved the camera and I could've sworn it came out on top in that one phone camera elo ranking
97.
▲
by
TwentyPosts
3y ago
Seeing that the last time I tried to use Zig–completely inexperienced, trying to do completely basic stuff–I hit a compiler bug within two hours, I'd say that "not ready" is about right. To be fair, the latest Github version
98.
▲
by
TwentyPosts
3y ago
Please, anything but that. I find it hard not to view stuff like this as a "if Rust gets to be in the kernel, then so should C++!".
99.
▲
by
TwentyPosts
3y ago
Do you have any source for this? This would be quite shocking for me, if true.
100.
▲
by
TwentyPosts
3y ago
Granted, it's been long enough I don't even quite remember the exact issues I had, so take it with a grain of salt. It was definitely primarily weird edge cases, and might've been related to plugin use. This is one area where
101.
▲
by
TwentyPosts
3y ago
At the same time, NeoVim lacks many, many of Helix' features unless you use plugins. That's fine, of course, plugins and customization are part of what makes NeoVim so great. Anyway, can you name a few NeoVim features you miss in
102.
▲
by
TwentyPosts
3y ago
Even the suggestion that vim is fast is funny to me. Vim feels sluggish compared to NeoVim. NeoVim feels sluggish compared to Helix.
103.
▲
by
TwentyPosts
3y ago
Damn, I wish I had known about this earlier.
104.
▲
by
TwentyPosts
3y ago
I guess my hope was that the program would just terminate immediately the instant it tries to throw an exception while -fno-exceptions is set, thus ideally preventing any further action from the program.
105.
▲
by
TwentyPosts
3y ago
Well, my hope was that we'd have a guarantee that the program is in fact just going to terminate, and the process is going to die. That's probably not great and might leave data in a bad shape, but it seems better than "undef
106.
▲
by
TwentyPosts
3y ago
Could you elaborate on that? I'd love to see an example of this. Are you saying that even relatively simple code (using eg. std::vector) could easily cause UB if -fno-exceptions is enabled?
107.
▲
by
TwentyPosts
3y ago
Were these blind tests?
108.
▲
by
TwentyPosts
3y ago
It's laughably easy to grab a temporary e-mail and set up a throwaway account in just a few minutes. I did it for Twitter just a few weeks ago, even. Surely someone on HN is capable of gritting their teeth here, and understands that Er
109.
▲
by
TwentyPosts
3y ago
"coproduct type"
110.
▲
by
TwentyPosts
3y ago
Convenience instead of historical baggage, maybe?
111.
▲
by
TwentyPosts
3y ago
Bard is honestly fine, I think? It wasn't particularly impressive when they first rolled it out, that probably had a significant impact on peoples' perception.
112.
▲
by
TwentyPosts
3y ago
Still not sure what the "killer feature" here is. Is there even one? Or is it just "something like vs code but in Rust and faster and slicker"? I'd give it a try, but I am very happy using Helix, which is pretty nov
113.
▲
by
TwentyPosts
3y ago
Clearly they should not have passed linear algebra without this understanding, and you're free to fail then if they didn't personally manage to correct for it by the end of the term.
114.
▲
by
TwentyPosts
3y ago
...There's sexual torture content in Blindsight? Or in his short stories? Having read several of them, I really don't remember anything like that. Can you note some examples?
115.
▲
by
TwentyPosts
3y ago
To flip the question on its head, why bother with C++ when you can use Rust?
116.
▲
by
TwentyPosts
3y ago
Fwiw I don't remember seeing that many posts for Cosmic DE here. In fact, it's the first time it really stands out to me. Maybe I forget, could definitely be the case. Either way, looks like a cool project? I don't quite get
117.
▲
by
TwentyPosts
3y ago
Absolutely powerful move. How did this play out after that for you? Or him, for that matter, if you know.
118.
▲
by
TwentyPosts
3y ago
>not all functions always need their error checked - as an obvious example, fmt.Println. I agree, but a lot of other languages handle this much better. In Rust (predictably!) you receive a Result type, and if you don't want to check
119.
▲
by
TwentyPosts
3y ago
Do you have any evidence for this? Seems like a pretty severe accusation.
120.
▲
by
TwentyPosts
3y ago
> Things like dynamically updated graphs are nearly impossible to write in Rust Just curious, have you tried to handroll these, or have you used libraries? (eg. petgraph, though I don't know if it'd suit your usecases.) I'
More ›