Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TwentyPosts
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
121.
▲
by
TwentyPosts
3y ago
Fwiw, I didn't mean to imply that they don't know any language theory, just that the language doesn't seem to reflect it. I don't think this itself should be a controversial statement, by the way, Go aims to be a simpl
122.
▲
by
TwentyPosts
3y ago
They're 'laughably simple' on a conceptual level. Adding them to the language in retrospect might genuinely be a bad idea at this point. The thing which I am personally salty about is that they weren't there to begin wit
123.
▲
by
TwentyPosts
3y ago
The claim wasn't that they are unaware, the claim was that it doesn't seem to show in the design of Go. I think Go is a perfectly fine language, and I respect the goal to stay clear of complexity, but when looking at any particu
124.
▲
by
TwentyPosts
3y ago
When I did research on this topic ages ago I read both of these links, and I'm very familiar with the arguments. I also vehemently disagree with them, and I think that the way code is factually written in practice is on my side: People
125.
▲
by
TwentyPosts
3y ago
Ehhh, I see absolutely no evidence that the Go developers were particularly aware of theory. It really feels more like they just were used to thinking in terms of C, and built a language which is kind of like C. Go also has some really we
126.
▲
by
TwentyPosts
3y ago
Wait what? Do you have an example or more information on this?
127.
▲
by
TwentyPosts
3y ago
They are, at least in my opinion (degree in mathematics). This might be a terminology issue. Not all fields use exactly the same terminology.
128.
▲
by
TwentyPosts
3y ago
Was anyone else unsatisfied with this article? Yeah sure, queueing theory is cool and fun and interesting but this article is really just a short list of used abbreviations and falls woefully short of genuinely interesting content. You'
129.
▲
by
TwentyPosts
3y ago
Saying that Rust "has exceptions" is dishonest. What matters isn't whether they technically exist, but if and how they're used. In idiomatically written Rust you will never obtain an exception/panic (unless there is
130.
▲
by
TwentyPosts
3y ago
I don't know, works on my machine. Basically any game I play works immediately out of the box. Last bigger issues I remember is Elden Ring crashing when opening sometimes. Otherwise it all just works immediately, no issues at all.
131.
▲
by
TwentyPosts
3y ago
You can't..."reason about your code" in Rust? Look, maybe there's a reasonable take in there somewhere, but the way you put it just makes it sound like gibberish. It sounds like you're just hoping for either a dynam
132.
▲
by
TwentyPosts
3y ago
How 'high-level' are you hoping for here? Haskell? Rust has very high abstractions, but I guess the fundamentals are based around giving you control over low level stuff, which seems like a good balance to me. I'm not sure wh
133.
▲
by
TwentyPosts
3y ago
> which I'm pretty sure beats both Julia and Mojo Sometimes "showing the code" is not enough. Show me the benchmark.
134.
▲
by
TwentyPosts
3y ago
>(and the discussion on whether they are actually sound is still open!) Do you have a reference for this? Frankly, maybe I shouldn't ask since I still don't even understand why stackless coroutines are necessarily self-referent
135.
▲
by
TwentyPosts
3y ago
The iPhone works because it's a device you'll look at all the time while operating its touchscreen. The car touchscreen doesn't work since you need to operate buttons without directly looking at them, purely by tactile feel.
136.
▲
by
TwentyPosts
3y ago
std::variant comes pretty close, no?
137.
▲
by
TwentyPosts
3y ago
Let's not forget "Zero features." (Speaking with love as an i3/Sway person.)
138.
▲
by
TwentyPosts
3y ago
...but why? It seems like a great, simple concept, and not one that seems very expensive to maintain. What's the reasoning here? Like, what sort of returns did they expect here, and why weren't they met?
139.
▲
by
TwentyPosts
3y ago
Can someone tell me roughly at which point a tool like OpenTelemetry becomes interesting? It seems complicated, at which point should you bother with it instead of just handrolling simple stuff and eyeballing it?
140.
▲
by
TwentyPosts
3y ago
Remind me, how is this a good thing again? Especially considering that (if you write modern C++) the compiler should optimize away bound checks most of the time (and in all critical places) either way.
141.
▲
by
TwentyPosts
3y ago
Eh. The existence of Rust (and Zig, to a lesser extent) prove that you can, in fact, have both: Highest performance and safe, properly error checked code without any sort of UB. UB is used for performance optimizations, yes, but all of thes
142.
▲
by
TwentyPosts
3y ago
I feel this, sort of. I taught myself how to code by writing a Python bot (among other things), and eventually needed some sort of database handling to make things work. I decided on teaching myself basic SQLite, and just did it raw with `s
143.
▲
by
TwentyPosts
3y ago
If you're not a Vim person yet and not super invested in learning Vim keybinds specifically, may I recommend Helix? Helix has much better default keybinds, it has a lot of stuff built into it which would require extensions in Vim, and
144.
▲
by
TwentyPosts
3y ago
Ah, that Linux user feeling. Feels like a lot of people in the scene use Windows, which still surprises me considering how tech-y it all is.
145.
▲
by
TwentyPosts
3y ago
Meanwhile, I am still trying to figure out how to really get started with making my first demos. I can write a basic shader with ShaderToy, I can write a raymarching algorithm and do a few cute tricks with it...and now what? How do I turn t
146.
▲
by
TwentyPosts
3y ago
Minor differences in syntax are not what makes programming (in general, and when it comes to learning a new language) hard. As an aside, I really like that I can grep source files for a keyword such as `fn ` and get a good idea of how many
147.
▲
by
TwentyPosts
3y ago
When it comes to the overhead issues of unique_ptr, I always think of this video here: https://youtu.be/rHIkrotSwcc?t=1192 At 26:50 he gets into how this relates to ABI, and how 'fixing' some of this would require
148.
▲
by
TwentyPosts
3y ago
I can't say I ever understood how and why async became such a big feature for Rust. I feel like I might understand someday (when I have more experience working with async code) but for now it kind of feels like adding it to the languag
149.
▲
by
TwentyPosts
3y ago
To be fair, several years ago Jordan Peterson seemed quite genuine and earnest about wanting to do good in the world...and then his Benzos coma happened, and he was out cold for several months in Russia or something bizarre, an it's ve
150.
▲
by
TwentyPosts
3y ago
Oh hi Zeno. Don't get me wrong, I love your game a lot , and have played it a lot. I also agree that a lot of very popular games have some pretty severe flaws, though they're often of a different nature. Anyway, when it comes to
More ›