Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diath
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
211.
▲
by
diath
2y ago
The BEAM is made with fault tolerance, scalability, and concurrency in mind at the cost of performance due to immutability and message passing approach among other things, which sounds like a terrible choice for a multiplayer video game tha
212.
▲
by
diath
2y ago
...and that's precisely why they are faster, if you can throw out decades of compatibility flags you can avoid expensive branching and such to make them faster. That's why such projects should be called alternatives, and not repla
213.
▲
by
diath
2y ago
> Loops where you join all the threads that are supposedly finished are usually troublesome. If somebody gets stuck, the joiner stalls. That makes sense if the main thread is actually doing any useful work, but when its only job is to sp
214.
▲
by
diath
2y ago
This just looks like it's trying to remove as much syntax as possible and as a consequence makes it harder for me to follow what's going on. Kind of like a write-only language.
215.
▲
by
diath
2y ago
> Not my experience at all. Granted I haven't tried writing a loop like this in 20ish years, because once you spot that mistake you don't tend to make it again, and CPUs are better now. You can trivially verify it by running th
216.
▲
by
diath
2y ago
It will not, even adding just a 1ms sleep in a loop will drop CPU usage to barely noticeable levels, 10 wakes a second is barely anything for any CPU from the past 3 decades.
217.
▲
by
diath
2y ago
Have you personally developed a game in Godot?
218.
▲
by
diath
2y ago
It does, it links to this: https://github.com/ocaml/ocaml/blob/4d6ecfb5cf4a5da814784dee...
219.
▲
by
diath
2y ago
> because on wayland, Qt apps survive a compositor restart! Realistically, how often do you restart your compositor and why?
220.
▲
by
diath
2y ago
> WASM could solve all this, but that would mean all OSes would need WASM runtimes that supported a consistent set of standards and APIs. Have fun getting that to happen. I mean if that's your solution to the problem, then Java alre
221.
▲
by
diath
2y ago
Infrequent would be a better word than slow, not all interpreted code is JITtable, and code that was JITted already will probably be cached.
222.
▲
by
diath
2y ago
Have you shipped a multiplayer game yourself?
223.
▲
by
diath
2y ago
On the contrary, dogfooding early would allow you to more easily spot design flaws and steer the project in the right direction accordingly.
224.
▲
by
diath
2y ago
I feel like every time Bevy is mentioned, on HN or elsewhere, a common question is "what are some examples of shipped games made in Bevy?" and there usually is not much to show, which is a big problem, while I personally have no i
225.
▲
by
diath
2y ago
I was prescribed a drug that's sold under brand name Heparegen over here that I had to take for months, apparently the active compound is called Timonacic: https://drugs.ncats.io/drug/E5913T3IBL We also had to tak
226.
▲
by
diath
2y ago
Last year I was hospitalized and quarantined for Tuberculosis, which is fairly strong against antibiotics so the antibiotic therapy is 6 months long (minimum), and that's precisely how I was treated, by combining first 4 then 2 antibio
227.
▲
by
diath
2y ago
...and the build folder adds up to 700MB, that's quite grim for a program like this.
228.
▲
by
diath
2y ago
I'd wager it's the average person not understanding and the marketing team just appealing to them to make it less confusing, kind of like that third pounder story.
229.
▲
by
diath
2y ago
> They realized that writing a modern browser (i.e. one that for example uses multiple cores efficiently by doing layout/rendering/etc in parallel) is almost impossible in C++ And yet Chrome does it just fine, and Ladybird can
230.
▲
by
diath
2y ago
Additionally, Aseprite runs on Linux, which is a big pro for me.
231.
▲
by
diath
2y ago
Yeah, I see no difference either, I used to use urxvt for years, then switched to kitty (which is also hardware accelerated like Alacritty), but not for the supposed "performance" gains but because it's got better features bu
232.
▲
by
diath
2y ago
Personally I do, the Windows builds for my game use a Windows VM with MSVC, the Linux builds use GCC for certain optimizations, and for the dev builds I use Clang for sanitizers. Sure, you mention "a toy project" but he's tal
233.
▲
by
diath
2y ago
But why do you even need a distro to begin with just to ship certain software set? Install Arch/Gentoo and install whatever is your preferred software of choice, or hell, you can even do that on any other distro.
234.
▲
by
diath
2y ago
I need multithreading, async TCP, and have to implement systems that benefit from type safety. Though, I do still use Lua (using sol2), for interface modules, but I miss the features that Love2D provided on the framework level.
235.
▲
by
diath
2y ago
Kind of share the same feeling, started a project about 2 months ago and chose to use Raylib, and while the basic stuff is really simple to get going, the more you use it, the more random minor inconveniences you run into, but at this point
236.
▲
by
diath
2y ago
At least they're all-caps, but as somebody that writes C++ and uses Raylib, I just wrapped it in a namespace in my project that I include, like so (note that cstdio must be included before raylib if you're using it from C++):
237.
▲
by
diath
2y ago
His methodology actually favors systemd, as sudo is for example vendoring its dependencies in the repository. diath@11km :: /tmp » git clone https://github.com/systemd/systemd diath@11km :: /tmp » c
238.
▲
by
diath
2y ago
Ever since I tried -ftime-trace in Clang to improve build times in a project a while ago, I've been very conscious about using forward declarations wherever possible, however I wish we had proper module support that actually worked wel
239.
▲
by
diath
2y ago
I mean this is likely somebody seizing the opportunity and posting relevant thread, although a 10 minute old thread with one upvote being the top thread on the front page is suspicious.
240.
▲
by
diath
2y ago
That's already a thing, called XWayland, and it's the only way to make Wayland actually usable on Linux desktop.
More ›