Viewing profile — ceronman
ceronman
HN member- Joined
- Thu, Jan 27, 2011, 3:09 PM UTC
- HN karma
- 2,861
- Public activity
- 298 items
- HN profile
- View on Hacker News ↗
About ceronman
Recent public activity
-
comment
Comment #47040038
1. Credit cards are not that common. People usually have debit cards. Those can sometimes be used online but they're not widely accepted. My debit card is Maestro, which is not acc…
-
comment
Comment #46633461
A switch or pattern matching approach is useful, but not practical for some cases. For example, there are cases where you are interested in only a single kind of node in the three,…
-
comment
Comment #46632245
The parsers in crafting interpreters do not use the visitor pattern. The visitor pattern is used when you already have a tree structure or similar. The parser is what gives you suc…
-
comment
Comment #46632192
The visitor pattern is very common in programming language implementations. I've seen it in the Rust compiler, in the Java Compiler, in the Go compiler and in the Roslyn C# compile…
-
comment
Comment #45702078
The elderly, the kids, the teenagers, the adults. Screen addiction is a pandemic. The biggest one humanity has ever seen. The richest, most powerful organizations are spending bill…
-
comment
Comment #45194762
I used to agree with this, but then I realized that you can use trace points (aka non-suspending break points) in a debugger. These cover all the use cases of print statements with…
-
comment
Comment #45162066
I don't know why you're getting down voted. But you are right. Rust type system solves this in a very nice way. Maybe to clarify we can show how to do the exact same example shown …
-
comment
Comment #45161972
> That's not the expression problem. To me it looks like this is exactly the expression problem. The expression problem is not about adding methods to a trait, it's about adding an…
-
comment
Comment #45161851
Why would the the orphan rule be a problem here? The orphan rule only disallow impls if both the trait and the type are defined outside the crate. But in this example if you are ad…
-
comment
Comment #45124443
Very cool. I think Wasm is a nice instruction set, but I agree that its structured control flow is a bit weird and also the lack of instructions to handle the memory stack. But it'…
-
comment
Comment #44941778
China dominance in manufacturing, at least in tech, it's not based on cheap labor, but rather in skills, tooling and supply chain advantages. Tim Cook explains it better that I cou…
-
comment
Comment #44650233
This looks really cool. I especially like the "Keep your progress, whatever happens" feature. The product looks polished and I definitely see myself using it. My only concern is: A…
-
comment
Comment #44530366
- The Legend of Zelda: Ocarina of Time: 32 MB
-
comment
Comment #44391359
I bet that if you take those 278k lines of code and rewrite them in simple Rust, without using generics, or macros, and using a single crate, without dependencies, you could achiev…
-
comment
Comment #44297227
Hi! That sounds very interesting, where can I find information about this workshop? I am interested in participating.
-
comment
Comment #42399108
It was. But he had 9 minutes vs more than an hour for Gukesh. The entire match has been Ding defending miraculously, I thought it was a matter of time before he eventually failed. …
- story
- story
-
comment
Comment #41640048
x86 is certainly not dead, and I don't think it will anytime soon, but they are still behind Apple M3 in terms of performance per watt. And M4 is about to arrive. I'm a bit disappo…
-
comment
Comment #41640021
Take it with a grain of salt. Other reviewers such as Hardware Canucks [1] have mentioned that they have not been able to get such long hours. Their numbers are closer to 15 hours.…
-
comment
Comment #41626331
YouTube Premium was already quite expensive. They increased my family plan from €17.99 to €25.99. This is almost a 45% hike! Compare to Netflix which is €13.99. I only pay this to …
-
comment
Comment #41367342
It's possible to write some pretty unreadable code with Clojure, just like it's possible in any programming language. I can tell you that this code is very easy to read if you are …
-
comment
Comment #41120703
Nice article. A couple of years ago I also implemented Lox in Rust. And I faced the exact same issues that the author describes here, and I also ended up with a very similar implem…
-
comment
Comment #40977379
I was talking about a monoculture specifically in the systems programming area. Java, Perl, PhP, Python, Ruby, JavaScript, C#, Go, these got popular but they use garbage collection…
-
comment
Comment #40974909
The author seems very anxious because Rust is getting traction and they don't like Rust. They're afraid that one day Rust will become a "monoculture" and everything will be written…