Details
-
AboutAAAAAAAAAAAAAAAAAAA
-
SkillsRust and other things
-
Locationhere
-
Website
Joined devRant on 12/8/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@whimsical The unfortunate problem is still that AI doesn't scale like software: You can sell 1 total or 1 million software licenses/subscriptions without any significant increase in spending. But for AI, 1 million users need 1 million more compute capacity than 1 user! It scales pretty much linearly
-
After like 20 runs I got another swift win:
Time C: 0.10503029823303223
Time Rust: 0.0970664024353027355
Time Swift: 0.09548282623291016
:P -
Whats funny is this is literally my first run after compiling, swift wins!
Time C: 0.23500466346740723
Time Rust: 0.09973406791687012
Time CPP: 0.4095611572265625
Time Borded CPP: 0.6213748455047607
Time Jest Rust: 0.28962039947509766
Time Swift: 0.09300994873046875
But almost all runs after that Rust wins e.g.
Time Rust: 0.08958315849304199
Time Swift: 0.09246969223022461
Time Rust: 0.08958315849304199
Time Swift: 0.09246969223022461 -
Oh shit, may have to install swift now. Wanted to check out that language for a while :P
-
@whimsical Other companies have the same problem :P
I think cloud AI will become very expensive soon. There's only so much money investors will let them burn -
More like Liquid Ass
-
That will not happen because what humans associated with "action" is emotional based. LLMs are purely machines. Why would they waste 200 watts to create a better car, when the only entities who care about having a better car are humans?
When thought is free, thought is meaningless -
The weights have numbers associated too: 400 is regular, bigger is bolder, less is thinner
https://developer.mozilla.org/en-US... -
@whimsical What cool stuff :O
-
@whimsical Give me a few weeks then I have something really cool to show
-
@whimsical Sorry, was working on my game engine :P
-
@whimsical I did a few month ago but I didn't really like them, I don't have enough ram :P
-
@whimsical I think slim is dfox's own php framework
(also mention test :P) -
@PaperTrail I have to agree with Lensflare on this one lol
-
@retoor I'm always a quick shot, hah ladies? ;)
-
@retoor There is some overhead in Rust if you use a lot of the high level features, but if you know what you're doing it's not a big deal. And in the end it all gets optimized via LLVM, same as C via Clang ;P
-
@retoor What CPU do you have btw?
-
@retoor How often did you have to run it to get that result? ;D
-
@retoor It's still my newest code. I just pulled your latest commit and those are the numbers :P
-
And get some nutella while your at it :D
-
Did you try a waffle recipe with buttermilk? Those are actually insane
-
AoC gets INSANE really quickly. Last year i didn't make it past day 12 i believe lol
-
@retoor I dunno, i'm not a vibe coder, but I am pretty knowledgeable when it comes to very low level and interpreter programming
Rava seems pretty good! I wonder how you are doing memory management though... I haven't seen any garbage collection or similar in the code -
@retoor I don't really remember, but if valgrind found anything than probably because some singleton was persistently allocated until the end of the program. There's not really anything wrong with that since the OS will clean up the memory at end of process. In fact I optimized my latest isspam version to leak values at the end so that drop impls don't increase run time :P
And if you like Swift, then do swift. I don't have anything against it. I just really like rust -
@retoor I can emulate C in Rust with 3 lines of code, it's very simple. The whole point is that it's *also* memory safe :P
-
@Lensflare I want to try swift at some point but I also just really like Rust
-
@retoor Sorry, haven't read it yet
-
@lorentz Just look at the codegen difference: https://godbolt.org/z/vsTeGcz8M
Pretty crazy -
@lorentz It's probably fine either way :P
But the issue with "heavy" branches that contain function calls, etc -- even if they are very rarely taken -- is that it pessimizes everything else around it, especially register allocation. And in case of the Rc decrement, I think that can panic aswell, which requires the codegen to do some stuff for unwinding too -
@antigermanist Its that big huh
