@hackernews@die-partei.social
What I did is a really simple implementation of 100 doors problem from Rosetta Code. I took a Zig implementation from there (I’m not very fluent in Zig myself), altered it to take one argument (number of passes) and rewrote it in Ruby:
......
As you can see, in my case the Zig version was almost 20 times faster. The standard deviation also seems to be much lower, so the execution speed is more predictable. I tried that on a much older machine and then the difference wasn’t as big as this, but also significant (almost 6 times faster). But that’s not all. This code is compiled by Zig in debug mode. What would happen if I compiled it with the fastest possible option (-Drelease-fast)? Let’s take a look:
......
The zig version is almost 300 times faster! Of course, I suspect that, due to the fact that it is basically a simple computation in the loop, compiler did some serious magic on optimizing it and there is no chance on getting this kind of speedup in a real-life situation. But anyway, I plan to dig a little deeper into it, perhaps try it with some more realisting examples and see what I can get.
@makuharigaijin @Nujtag third here
SF open-air Christmas market becomes dystopian hellhole...
Besieged by druggies...
https://www.dailymail.co.uk/news/article-11572629/San-Francisco-unveils-taxpayer-funded-open-air-Christmas-market-thats-dystopian-hellhole.html
Fun fact::
just like real houses, gingerbread houses are easier to tear down than they are to build. They also often require permits just as much before deconstruction.
That gamesize is a sin in itself
https://alter.com/trademarks/40000-79146617
On Thursday, September 5, 2013, a trademark application was filed for 40,000 with the United States Patent and Trademark Office. The USPTO has given the 40,000 trademark a serial number of 79146617. The federal status of this trademark filing is NOT AVAILABLE as of Friday, November 26, 2021. This trademark is owned by Games Workshop Limited. The 40,000 trademark is filed in the Computer & Software Products & Electrical & Scientific Products, Paper & Printed Material Products, and Toys & Sporting Goods Products categories with the following description:
......
Tldr; basically scifi/game stuff trademark.
@abbynormative
Literally me and employment opportunities.
@niconiconi
Is it still running? Want me to call a quantum mechanic?
@SLICEOFHOME
I'm CRaven some fried bird right now...
Ask me about my keyboard