Viewing profile — suremarc
suremarc
HN member- Joined
- Tue, Nov 09, 2021, 11:45 PM UTC
- HN karma
- 53
- Public activity
- 33 items
- HN profile
- View on Hacker News ↗
About suremarc
No profile information was provided.
Recent public activity
-
comment
Comment #41184187
Arrow is a cross-language standard. Polars is written in Rust but DuckDB is written in C++. So it's not that simple unfortunately.
-
comment
Comment #38323602
Every type in Go has a zero value. The zero value for pointers is nil. So you can't do it with regular pointers, because users can always create an instance of the zero value.
-
comment
Comment #36729501
> If the factory is completely inactive, how soon can it produce a single science pack? That time is the latency. That is what I am trying to explain, now for the second time. Let'…
-
comment
Comment #36728640
> This isn't latency in the same sense I was using the word. But it is. If you add more factories for producing advanced chips, you can produce a chemical science pack from start t…
-
comment
Comment #36726730
Think of it this way, instead. Building a multi-belt system is a pain in the ass that complicates the design of your factory. Conveyor belt highways, multiplexers, tunnels, and a b…
-
comment
Comment #36717493
The ability to “share memory faster” is a bigger distinction than you make it out to be. Distributed applications look quite different from merely multithreaded or multiprocess sha…
-
comment
Comment #36688315
I think we all know what someone means when they say “matrix multiplication”. Asserting that * could mean, say, the Hadamard product or the tensor product is a reach. In practice I…
-
comment
Comment #35715421
I understand Fourier transforms fairly well but his video blew my mind. He has a totally original way of distilling mathematical concepts intuitively.
-
comment
Comment #33536215
I don't think you can have data races (but certainly you can have race conditions) in python because of the GIL. I imagine Ruby is similar. Otherwise, no, the other languages you l…
-
comment
Comment #33536041
DOOM 2016 got by on its freshness and its tone. The combat mechanics in DOOM Eternal, while having some divisive elements, really pushed the envelope for the series and for FPS gam…
-
comment
Comment #33525887
I don't know how it works in other languages, but accessing a partially overwritten slice in Go (as will happen in the presence of data races) can cause your code to access out-of-…
-
comment
Comment #33519267
Indeed, this person showed that you can read/write to arbitrary memory addresses inside of a Go program: https://blog.stalkr.net/2022/01/universal-go-exploit-using-d... Although, i…
-
comment
Comment #33519191
I have no idea what you mean here. Data races are next to impossible in safe Rust.
-
comment
Comment #33474225
This is assuming you already have a pointer of the element you're removing, or a neighbor thereof. Otherwise, you'd have to traverse a portion of the linked list, which has a signi…
-
comment
Comment #33353545
> It's cute for trivial cases like algebra libraries I don't understand this wording. Algebra libraries are nontrivial to implement, as the algorithms that operate on such structur…
-
comment
Comment #33353340
The few times I've dealt with code that does some (even just very basic) algebraic manipulation, I found the lack of operator overloading to be _really_ awkward (look no further th…
-
comment
Comment #33280494
The infinite sum involving powers of two is actually true in the 2-adic integers.
-
comment
Comment #32797622
I don’t really understand what the borrow checker has to do with the automatic/manual memory management dichotomy.
-
comment
Comment #32796342
How is memory management with Vec and Box in Rust any different from std::vector and std::unique_ptr in C++?
-
comment
Comment #32795464
> It has shown that GC vs manual memory management has a third option. C++ had shown this long before Rust.
-
comment
Comment #32406478
Just return an io.Reader that wraps the DB cursor and outputs CSV data... I fail to see what makes this so difficult. If the "mutable" approach involves passing down a mutable *htt…
-
comment
Comment #32405578
You don't return anything in Gin.
-
comment
Comment #32193187
OP is just holding a reference to a single entry in the vector. You could write whatever you want to that entry, but it's not going to change the length of the vector. In some sens…
-
comment
Comment #32191638
I meant that we did optimizations in Go, on top of using a Kafka client written in C. When language constructs like channels degrade performance, and when goroutine scheduling take…
-
comment
Comment #32191599
Again, scaling out to 30 nodes was not an option for us. It had to run on a single machine, unlike the rest of our data pipeline. While 200MB/s is nowhere near the theoretical limi…