[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1769814013066.png (70 KB, 598x444)
70 KB
70 KB PNG
Who was in the right here?
>>
No one pictured. Also fuck off back to Xitter.
>>
>>108016631
I don't know, but surely the people in that platform can figure it out. Why don't you read whatever it is that they're saying over there?
>>
File: 1751327699864.png (55 KB, 1280x720)
55 KB
55 KB PNG
>>108016631
We've seen this with uutils, not only does it has less features but it runs slower and buggier too. The gap will never close because the rust dev will inevitably ack himself.
>>
>>108016631
>xitter screenshot thread
>>
File: 1725700414593727.jpg (107 KB, 640x480)
107 KB
107 KB JPG
>>108016631
>>
Why does it seem like rustrannies only exist to rewrite other peoples code. Do they just lack any creativity at all and can't come up with their own ideas? Genuine serious question btw. Maybe there are shit tons of native rust scripts/applications/etc etc that I just never heard of.
>>
>>108016631
i was also a cocky teenager once but luckily the internet wasn't so widespread back then so i didn't embarrass myself publicly as much
>>
>>108016770
There's a lot of new projects written in Rust but one of Rust's core feature is its """security""" compared to C/C++ so lots of trannies feel like they're doing the world a service by rewriting a shitty util that's been open sourced since the 90s.
>>
File: images (2).jpg (15 KB, 387x516)
15 KB
15 KB JPG
>>108016770
in case anyone other than you is reading this and genuinely wants to know and not retard Cnile ragebaiting:

S3 (
@awscloud
)
- Firecracker (
@awscloud
)
- Zed (
@zeddotdev
)
- Datafusion (
@ApacheArrow
)
- Pingora (
@Cloudflare
)
- Gecko (
@firefox

@ServoDev
)
- Candle (
@huggingface
)

http://zed.dev
http://rerun.io
https://zoo.dev

- uv
- ruff
- turbo
- swc
- rspack

or apps?
- 1password core
- rerun

or programs used to run the internet:
- Firecracker,
- Lambda,
- Fargate,
- Botterocket,
- S3,
- EC2,
- Cloudflront,
- Route 53,
- Nitro
>>
>>108016903
rerun
alacritty
rocksdb
turso/limbo
prisma
Quiche
bend/hvm
dropbox
WorkersKV / CF CDN (35% of internet traffic)
goose
sentry
gleam
relay
wasmtime
webgpu
sccache
crosvm
nushell
ruffle
stackblitz
Nyx Space
brave
ESA
Airbus
Microsoft projects (e.g., openvmm, hyperlight, rolldown, oxc, 1Password)
Google repositories in Rust
Broader mentions of Rust in S3 (AWS), Firecracker, Lambda, Vercel, nearly every new database, AI infra, etc.
>>
>>108016903
>>108016923
All rewrites. Yawn.
>>
>>108016942
>desperate C-nile resorts to lying and dismissal
right on cue unc
>>
>>108016717
>>108016643
how come you never complain about reddit screenshots?
>>
File: 1752205307817795.png (2.36 MB, 2190x1364)
2.36 MB
2.36 MB PNG
>>108016631
HSVSphere is based.
>>
>>108016903
>zed
vscode rewrite
>servo
gecko rewrite
>uv
pip rewrite
>everything else
either literal who application or a much bigger infrastructure that has a tiny part, the equivalent of the 'true' utility, written in rust, so you trannies bandwagon on it to say "x is written in rust!"
>>
>>108017493
Okay, which one of you faggots did that?
>>
>>108016923
>rocksdb
Facebook rewrote it? Whoa.
>>
>>108017638
i don't care about most others but uv is great if you need python venvs, miles better than pip
>>
>>108016923
>brave
Unless you mean the shields component, Brave is chromium (C++)
>>
>>108016631
>xitter screencap thread of two literal teenagers
man /g/ really is irredeemably shit these days
>>
>>108017493
>metal door
Nice obfuscation Shlomo
>>
>>108017493
Lmao
>>
>>108017493
I think he's actually just a Turk.
>>
>>108016770
There're rare cases of these rewrites going right. I.e. uv is a hundred of times better than pyenv. But that's more of someone competent using Rust than anything else. Mise-en-place is a decent ASDF alternative too. You can even use the same plugins.
>>108016903
Add the only tldr client that doesn't run like an absolute diseased turtle. https://github.com/tldr-pages/tlrc
>>
His implementation has no functionality though
>>
>>108016770
They want all projects under their control. In the case of SQLite, they have the added motivation that the maintainer isn't woke and has resisted tranny attempts at forcing SQLite to accept tranny control.
>>
>>108016770
Rust is a very bad language for prototyping because of its strict compiler. Imagine you're coding in C and the compiler keeps giving you stupid warnings because of some correctness issue when all you're trying to do is slap together some shitty code to see whether your idea works at all. Then after your idea is proven to work you go back and rewrite the code properly.
You can't do that in Rust. Therefore people just copy the structure and design of existing C projects.
>>
>>108019135
>you go back and rewrite the code properly
Literally nobody does this. It's not in human nature.
>>
>>108019148
apparently I'm not a human then because all my projects that have ever been successful have followed this pattern.
>write hacky proof of concept
>diarrhea shit jeet code everywhere with global state, inconcistent variable names, don't bother keeping spaces and tabs consistent, don't bother error checking, don't bother writing an installer or configuration tool
>ok it works, great, but trying to extend this or package this in a user friendly way is going to be a nightmare
>so go back and rewrite everything from scratch using what I learned from the prototype to write code properly
>type out pages and pages of code without testing anything
>press F5
>it just werks
>>
>>108016631
good luck beating this
https://sqlite.org/testing.html
>>
>with async support
so they fundamentally misunderstand how sqlite works
>>
>>108016712
yeah, also rust struggles with non-utf8 path strings, which most filesystems and os allow.
>>
>>108019225
or do they?
>>
>>108019839
>also rust struggles with non-utf8 path strings, which most filesystems and os allow.
That's literally what OSString is for.
What exact issues did you had with non-utf8 path strong? Were you trying to assume they are utf-8?
>>
based cc
>>
>>108021712
kanker
>>
>>108016631
what's the problem smb wants to write software Application1 in Language2? if it turns out to be faster without losing features - great, if it turns out to be worth - nobody would use it anyway, so what's the exact problem?
>>
>>108023360
>worth
*worse
>>
>>108019165
same, I write iteration upon iteration before calling anything done, from a barebones prototype to a polished result. And if you're half decent at writing code, there are almost no useful tests to write because you've broken up every problem into a sequence of trivialities
>>
>>108016770
>Why does it seem like rustrannies only exist to rewrite other peoples code
its a CIA psy op using AI
>>
>>108017475
Because reddit trannies hate it
>>
>>108023443
>>
File: 1758067484076653.jpg (57 KB, 838x928)
57 KB
57 KB JPG
>>108021440
There are 4 twitter screenshots from this same computer on the catalogue
>>
>>108016770
even rust compiler is a rewrite in rust project
>>
>>108016903
astral tooling uv & ruff & ty is based
prek too to replace pre-commit
>>
>>108016770
>Why does it seem like rustrannies only exist to rewrite other peoples code.
Because you are sitting in an echo chamber.
Go look into random projects in other languages and you will quickly realize 90% of projects are basically "X but better/newer/different".
>>
>>108021712
>git clone sqlite
>"Rewrite incrementally this project in Rust."
can probably do some multi-agent bs pipeline to go faster
>>
Ctrl+F "MIT" (0 results)
cmon guys, you already know
>>
>>108017493
Isn't this retard like a zeus piker fan?
>>
>>108021584
i use rust, but osstring is platform dependant and can't really be serialized/deserialized safely. also most crates don't work with osstring. at best they can accept path/pathbuf, but you can't serialize that at all. For instance sqlite accepts binary blob as TEXT, but rust bindings (rusqlite) will not let you use that, even if you're 100% sure that they're always going to be used on the same platform (e.g utf16-le for windows, raw bytes for unix, etc..)
>>
>>108026298
150kloc is the implementation, but sqlite has around 92M lines of test code (see https://www.sqlite.org/testing.html), which is what you need to ensure your DB is safe from power loss, system crashes. On top of that you have to make sure all tests pass with pragmas on, like journaling mode, mmap_size, integrety checks, write ahead, etc.

performence is the least of your problem when designing a database, because even if you're 10 times faster than your competitors, if you periodically loose data you're just trash. that's why everyone dissed mongodb before it became reliable
https://youtu.be/b2F-DItXtZs
>>
>>108017493
Usecase?
>>
>>108019211
Rustrannies don't need to test because rust is memory safe o algo.
>>
>>108017475
reddit screenshot threads are righteously shit on everytime they are posted
still reddit > xitter unless you are insufferable pajeet shill
>>
>>108016631
If rust is so good then where are all the successful games or game engines made in rust? We've got C, C++, C#, js, python, java etc. Where's rust at?
>>
>>108028451
>but osstring is platform dependant
That's because "non-utf8 path strings, which most filesystems and os allow" is platform dependent.

>can't really be serialized/deserialized safely. also most crates don't work with osstring. at best they can accept path/pathbuf, but you can't serialize that at all.
You can always just treat it as raw bytes if needed, just like you would do on any other language.

>For instance sqlite accepts binary blob as TEXT, but rust bindings (rusqlite) will not let you use that
I don't know that page. Can't you just treat it as binary blob?
If not, that's just library limitation, not language.
>>
File: 2026-02-01-17:27:25.png (114 KB, 1283x380)
114 KB
114 KB PNG
>>108030045
>You can always just treat it as raw bytes if needed, just like you would do on any other language.
sadly that's not possible in rust yet. there is currently no guarantee that the encoding stays stable between rust versions.

it's not a novel problem either:
https://users.rust-lang.org/t/path-osstr-and-supporting-non-utf-8-paths-inputs/64826
>>
>>108029960
there's bevy which is quite good. but rust has more engines than games. and considering it's still extremely painful to write vulkan code in rust it's not likely we'll see a lot of games made in it for a while.
rust still doesn't have a multimedia library that lets you load image, videos, music and handle different OS for window, keyboard and input management, while supporting multiple rendering backends (gles, glew, vk, metal, dx etc..)

the closest thing there is using webgpu while combining different multimedia crates but that doesn't get you near the level of support SDL or SFML has for making games
>>
>>108031562
why is RUST so complikated?
>>
>>108016770
its all license laundering to turn GPL software into MIT/etc cucklicensed code
>>
>>108016770
Because Ctrannies call everything a "rewrite" if any program that already could do the same thing existed already. If you make your own web browser from scratch, they will call it a "rewrite."
>>
>>108031562
>sadly that's not possible in rust yet.
False, OsString::as_encoded_bytes() exists.

>there is currently no guarantee that the encoding stays stable between rust versions.
No programming language can guarantee that your OS won't change the encoding of its paths.

>>108033148
This has nothing to do with Rust and everything to do with operating systems being complicated. OsString is just a newtype marking a string that is encoded using your OS specific encoding.
When a C talks with system it will also have to support different encodings on Linux and Windows.
>>
>>108033501
You're confusing Rust with BSD. BSDtards use BSD because it doesn't have any GPL code.
>>
>>108033595
no? both BSD and MIT/etc are cucklicenses. they're different types of cucks but cucks nontheless.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.