Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TwentyPosts
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
151.
▲
by
TwentyPosts
3y ago
Ah, Hyperbolica. I just wish it had more going for it. It feels a lot like the sort of cute educational tech-demo game which you'd show school children/teenagers if you (for whatever reason) wanted to teach them about hyperbolic g
152.
▲
by
TwentyPosts
3y ago
>Instead of "everything is a file", "everything implements well-documented object-oriented interfaces" would be much better idea. Why "object-oriented" specifically? Is this in any sense different from non
153.
▲
by
TwentyPosts
3y ago
Saying that the determinant is useless to determine whether a matrix is incorrect, or misleading at best. This is purely a matter of numerical stability. Of course [[1e-10, 0], [0, 1e-10]] is nonsingular, and its determinant is 1e-20, which
154.
▲
by
TwentyPosts
3y ago
Rust does it pretty well. No error handling via exceptions, it's all Result<Ok, Err> or Option<Value> types. This is great since it's enforced on a type-level that every result or option has to be unwrapped before it c
155.
▲
by
TwentyPosts
3y ago
I'm going to be pedantic here, but this merely means that Go can't fill Zig's niche. Zig can (in a lot of situations) presumably easily fill Go's role. Both languages have a focus on simplicity and explicit syntax. In ot
156.
▲
by
TwentyPosts
3y ago
Personally, I found "Writing an Interpreter in Go" better than "Crafting Interpreters". It has a follow-up book titled "Writing a Compiler in Go", which (similar to Crafting Interpreter's second half) impl
157.
▲
by
TwentyPosts
3y ago
Can't say much about async, since I really lack the experience to say whether async in Rust could feasibly and realistically be much better than it currently is. Some people say that it'd be great if it worked as effortlessly as i
158.
▲
by
TwentyPosts
3y ago
Will Rust keep growing? Yes, I think so. Will it turn into a C++-like monster? I don't know. Maybe, but when it comes to C++ it always feels like its "monster" status is largely a result of previous mistakes or early design d
159.
▲
by
TwentyPosts
3y ago
Afaik Zig has the issue that basically everything happens on the Discord server, where it can't be indexed via search engines, or found by anyone who wants to have a quick question answered. This would be "fine" if the standa
160.
▲
by
TwentyPosts
3y ago
I am not much of a Zig-head, but the best compromise I can think of is having a few operators which purely and solely exist for this purpose. In other words, there is no operator overloading, but you can define, say, "#+" for any
161.
▲
by
TwentyPosts
3y ago
I think they were making a joke, namely that it looks like an arrow, even though it's presumably supposed to look like an envelope. The fact that we're talking about it shows that this is in fact a minor(?) design flaw. Ideally
162.
▲
by
TwentyPosts
3y ago
It's okay? I think what bothers me the most about it is that the envelope is smaller, and not front and center anymore. I get that the idea was to make it look more like the Firefox logo, and it succeeds in that regard, but I liked tha
163.
▲
by
TwentyPosts
3y ago
Mojo bothers offers Just-In-Time and Ahead-Of-Time models. Proper AOT compilation is going to offer a significant speedup, but probably not enough to get to their stated goals. And good luck carrying all of Python's dynamic features ac
164.
▲
by
TwentyPosts
3y ago
Somehow I'm still skeptical! Feels like "strict superset of Python, all Python code works" and "several orders of magnitude faster" just sounds like you're trying to have your cake and eat it, too. I doubt that
165.
▲
by
TwentyPosts
3y ago
There is some work in the area: https://www.sciencedirect.com/science/article/pii/S258900422... Disclaimer: I have not read the paper, so I can't judge about its contents.
166.
▲
by
TwentyPosts
3y ago
> Another story is that some people pointed out a missing feature - moving lines or blocks of text up and down, as more advanced IDEs do. I volunteered to implement this feature, however I'm getting impression that the community is
167.
▲
by
TwentyPosts
4y ago
A cynical view is that 80% of Go's success is a result of the excellent tooling, and the fact that it's associated for and pushed by Google, while the underlying language is "mediocre" at best. In theory I agree with Go&
168.
▲
by
TwentyPosts
4y ago
What are some of these pitfalls in C++'s const design? I assume the issue is that it's difficult to guarantee const correctness as long as you have the ability to fiddle with pointers? Function signatures showing when a parameter
169.
▲
by
TwentyPosts
4y ago
Any idea of how much faster we're talking here?
170.
▲
by
TwentyPosts
4y ago
I'm not. I'm a new user, and I notice that Duolingo kind of sucks, but I am getting some amount of value out of it. I'm very open to suggestions for better language learning apps, though.
171.
▲
by
TwentyPosts
4y ago
As someone who didn't like the idea of learning a language at all but has to, I'm glad that Duolingo gave me a very, very easy way to get started with literally anything at all. It's simple and streamlined, meaning that it&
172.
▲
by
TwentyPosts
4y ago
This is also what I'd call the classic issue with Duolingo. Or rather, one of them, considering that the app has all sorts of issues. If you use nothing but Duolingo you'll plateau very quickly. It's probably "okay"
173.
▲
by
TwentyPosts
4y ago
Go has no way to ensure "const correctness". If you pass around a slice (which you'll be doing a lot, since it's essentially Go's equivalent of a vector), everyone can modify the slice however they please. It's
174.
▲
by
TwentyPosts
4y ago
Wow, this entire thinkpiece is frankly incredibly annoying to me. Vast amounts of staggering, amazing music are being made. The issues which he is describing are rather just a loss of a "universal" major label music culture. We&#x
175.
▲
by
TwentyPosts
4y ago
> A special “I would never write Rust like that” variant that returns the value in a Box on the heap. This is because a friend of mine, after seeing my results, told me I was cheating, because all Rust versions so far used registers/
176.
▲
by
TwentyPosts
4y ago
I think it's great. I picked it up on a whim, and it then managed to turn into my default (code) editor. The good: -Closeness to Vim and the floating option menu (if you eg. press g, it shows you what options you have in the lower rig
177.
▲
by
TwentyPosts
4y ago
So... has anyone used this thing to build projects that go beyond small toy examples? Speaking of, what are some good 'example projects' to test the overall sturdiness of a new language? I have currently no interest in writing one
178.
▲
by
TwentyPosts
4y ago
As far as I heard the V programming language is largely considered to be Vaporware (see eg. https://xeiaso.net/blog/vlang-update-2020-06-17 , and other articles by Xe). I agree that I (in theory) quite like some of the
179.
▲
by
TwentyPosts
4y ago
Having used Cold Turkey before, I can confirm that it's really good at doing what it set out to do (though I have a few annoyances with it, since there are a few things it doesn't allow me to do). What's impressive about it i
180.
▲
by
TwentyPosts
4y ago
I would not be surprised if people downvote this sort of comment since—no matter the predictions—it seems like an attempt to piggyback off the parent post to make more people see your own post when just posting a top-level comment would hav
More ›