Viewing profile — trws
trws
HN member- Joined
- Thu, Jul 02, 2020, 3:27 PM UTC
- HN karma
- 307
- Public activity
- 94 items
- HN profile
- View on Hacker News ↗
About trws
No profile information was provided.
Recent public activity
-
comment
Comment #47353278
Everything else in the siblings is true, but remember that the language and std types in rust all do this already. Most of the time it’s better to use a native enum or optional/res…
-
comment
Comment #47353243
It’s Hana Dusikova’s paper IIRC.
-
comment
Comment #47352077
There’s a paper in flight to add a stdlib type to handle pointer tagging as well while preserving pointer provenance and so-forth. It’s currently best to use the intptr types, but …
-
comment
Comment #46079377
I worked @fzakaria on developing that idea. It actually worked surprisingly well. The benefits are mostly in the ability to analyze the binary afterward though rather than any meas…
-
comment
Comment #45354051
I liked the article. I saw your PS that we added it to the working draft for c++26, we also made it part of OpenMP as of 5.0 I think. It’s sometimes a hardware atomic like on arm, …
-
comment
Comment #45316719
Quite so. We would have too, but I left out the nasty bit that someone had at one point put a callback argument in an internal launching API that runs between fork and exec. Still …
-
comment
Comment #45307571
The other place it comes up is launchers and resource managers. We actually have a series of old issues and implementation work on flux (large scale resource manager for clusters) …
-
comment
Comment #45032846
I largely agree, and use these patterns in C, but you’re neglecting the usual approach of having a default or stub implementation in the base for classic OOP. There’s also the opti…
-
comment
Comment #45032763
You have this largely right, but I need to defend the Radeon driver a bit here. The driver that caused all the problems was the proprietary fglrx driver, not the open source Radeon…
-
comment
Comment #44345152
I just started giving it a try again about a week ago, and I second this. A year ago it was nearly unusable for any extension outside their preferred list, now it’s largely a pleas…
-
comment
Comment #44254645
I’m rather hoping there’s something better, but various CAD formats support specifying assemblies of objects, and joints between those objects that can represent properties like th…
-
comment
Comment #44234713
The short answer is yes, Linux can be informed to some extent but often you still want a memory balloon driver so that the host can “allocate” memory out of the VM so the host OS c…
-
comment
Comment #44213329
> Is this obvious, simple, and default behaviour? Yes. There are two options IIRC, minimum layers and maximum layers (one per dep by default unless that makes too many, which is ha…
-
comment
Comment #43412404
Much as the article makes good points, I find it difficult to believe that the list of meats banned by kosher and halal matches the top allergies and disease risk factors as well a…
-
comment
Comment #42553760
The first one that comes to mind is something I haven’t done lately but used to do constantly , enough so that I wrote a custom fuse filesystem to combine isofuse with http handlin…
-
comment
Comment #42175555
An inotify replacement that can work at whole FS level (and doesn’t require root/admin like the existing option) would be amazing. To be honest, I don’t see a reason it would be ha…
-
comment
Comment #42157432
CI is the big one, or similar testing against older versions for backwards compatibility. Usually good enough to just compile for it on MacOS, but sometimes we get a surprise in a …
-
comment
Comment #41260937
A small refinement here, your statements are largely my experience dealing with people linking against gpl3 software because of the vitality and the patent exemptions. Most places …
-
comment
Comment #41227625
I think your comment was once completely correct, but there is now also a “cpuset” cgroup in addition to the classic cpu setting. The cpuset control gives something equivalent to s…
-
comment
Comment #41205686
Some computation tasks can tolerate the latency if they’re written with enough overlap and can keep enough of the data resident, but they usually need more performant networking th…
-
comment
Comment #41074965
If I had to guess, I’d say submodules. I work on a couple of projects with no submodules and find work trees great for those, but incredibly painful for the projects that have them…
-
comment
Comment #40496151
I fell very far down this rabbit hole trying to figure out the history of library link orders and symbol resolution. One fun outcome of which was finding that the first ever public…
-
comment
Comment #40054978
It depends on your needs. I haven’t used that stack, but I maintain projects that have to use autotools, cmake and about a dozen different compilers together to build, 3 of them Fo…
-
comment
Comment #40032008
I’ve run into both. I sit between a research organization and a production organization and have to produce artifacts on both sides, this suits me quite well because I’m very much …
-
comment
Comment #39984283
That’s correct AFAIK, but assumes a specific kind of JIT. It’s entirely possible for a JIT compiler to produce shared libraries (dyld files in this case) which are then loaded into…