Thread 105551266 - /g/ [Archived: 1117 hours ago]

Anonymous
6/10/2025, 7:24:06 PM No.105551266
1746920547032122
1746920547032122
md5: 384707f901b9b8866c6e7b18af6f018e🔍
>Just use LLVM, it's cross platform!
>Dig into it
>Front-ends have to do a shitload of work to get compatibility with different back-ends
>Even languages with massive teams like Rust have absolutely dogshit support for backends that aren't x86 and recent versions of ARM
What the fuck is this shit?
Replies: >>105551332 >>105557125 >>105557200 >>105557267 >>105558960 >>105560977 >>105562274 >>105562524 >>105562601
Anonymous
6/10/2025, 7:32:26 PM No.105551332
LLVM_logo
LLVM_logo
md5: 0aded0041e9a02f447634ae57bcd2465🔍
>>105551266 (OP)
>What the fuck is this shit?
A real compiler.
Anonymous
6/10/2025, 9:06:11 PM No.105552306
>irrelevant hardware has weak support
ok and
Replies: >>105553247
Anonymous
6/10/2025, 10:31:08 PM No.105553247
>>105552306
>irrelevant hardware
old arm chipsets outnumber the fuck out of your modern high end hardware
Replies: >>105553264 >>105554041 >>105563369
Anonymous
6/10/2025, 10:32:11 PM No.105553264
>>105553247
rangeban india
problem solved
Anonymous
6/10/2025, 11:52:36 PM No.105554041
>>105553247
And? The difference between rust's tier 1 and 2 is that tier 1 actually mattered to someone enough to set up/donate infrastructure for automated tests to be ran by the rust team.

If you want tier 1, then cough up the dough for it
>that's too much
then it's not actually that important to you, is it? welcome to capitalism
Replies: >>105554537 >>105562816
Anonymous
6/11/2025, 12:33:00 AM No.105554537
Screenshot from 2025-06-11 00-32-08
Screenshot from 2025-06-11 00-32-08
md5: af0debdad4b8929d0928086b25eb1389🔍
>>105554041
crabs:
>rust architecture support is just fine
5 mins later:
>actually fuck your shit pay me
lamao
Replies: >>105554568 >>105554658
Anonymous
6/11/2025, 12:35:32 AM No.105554568
file
file
md5: 0243b34a8570218754752f81cee3cfd0🔍
>>105554537
>different people think different things?
Replies: >>105554619 >>105554643
Anonymous
6/11/2025, 12:40:41 AM No.105554619
>>105554568
lamao
good one
https://desuarchive.org/g/thread/105548434/#105551217
Replies: >>105554643
Anonymous
6/11/2025, 12:43:45 AM No.105554643
>>105554568
>>105554619
(explanation bc you crabs are slow)
(create falseflag thread, personalize op as representing c-ultists)
(5 mins later)
(>but different people think different things)
(exact same pattern as in previous post lamao. counldnt have asked for a better demonstration)
Replies: >>105556887 >>105557154
Anonymous
6/11/2025, 12:45:11 AM No.105554658
>>105554537
20 minutes is 5 minutes?
Replies: >>105554668 >>105560884
Anonymous
6/11/2025, 12:46:19 AM No.105554668
>>105554658
>cant even into english comprehension
such is the burden of crabs

if you werent so disagreeable, i would have genuine compassion for you
Anonymous
6/11/2025, 6:08:36 AM No.105556887
>>105554643
im not fluent in lisp what does this post say
Replies: >>105560884
Anonymous
6/11/2025, 6:11:58 AM No.105556904
>stealth Haru thread
Anonymous
6/11/2025, 6:44:45 AM No.105557125
>>105551266 (OP)
Didn't care; rape
Anonymous
6/11/2025, 6:49:00 AM No.105557154
>>105554643
Based lisp poster
Anonymous
6/11/2025, 6:56:49 AM No.105557200
>>105551266 (OP)
I'm also currently building a language on LLVM. Tell me your suffering, anon. Is this about the structs? I just gave up and resorted to passing pointers and using the memcpy intrinsic to get value semantics.
Anonymous
6/11/2025, 7:08:35 AM No.105557267
>>105551266 (OP)
Post more Haru.
Anonymous
6/11/2025, 7:15:06 AM No.105557302
I just maintain both a gcc makefile and msvc sln file. Shrimple as.
Replies: >>105561664
Anonymous
6/11/2025, 12:00:18 PM No.105558960
>>105551266 (OP)
usecase for anything other than x64/arm?
Replies: >>105560868
Anonymous
6/11/2025, 4:40:20 PM No.105560868
>>105558960
writing compute shaders in the same language as your codebase by targeting spir-v
Replies: >>105560913
Anonymous
6/11/2025, 4:43:40 PM No.105560884
>>105554658
>>105556887
whoever said g is dead is a retard
yous 100% deserved
Anonymous
6/11/2025, 4:46:39 PM No.105560913
>>105560868
>SPIR-V eliminates the need for high-level language front-end compilers in device drivers, significantly reducing driver complexity and enabling a broad range of language and framework front-ends to run on diverse hardware architectures and encourages a vibrant ecosystem of open source analysis, porting, debug and optimization tools.
now you got my attention
is spir-v code platform-agnostic?
could i write a game in spir-v? (i have the feeling its gonna be less of a chore than glsl since i come from an opencl background)
Replies: >>105561564
Anonymous
6/11/2025, 4:52:44 PM No.105560977
>>105551266 (OP)
Just use c or wasm as your IL.
Replies: >>105561401 >>105561564
Anonymous
6/11/2025, 5:44:06 PM No.105561401
>>105560977
>use c as your il
>all your codegen is infected with c's terrible memory model
no thank you
Replies: >>105561564
Anonymous
6/11/2025, 6:01:21 PM No.105561564
1738249278819620
1738249278819620
md5: ee48e4e539d5b9ca18c45e97930bff72🔍
>>105560913
yeah, but it's also kind of complicated. hence why being able to arbitrarily use a GENERIC COMPILER FRAMEWORK that already has robust target for spir-v would be a huge boon.
https://github.com/KhronosGroup/SPIRV-Guide
unfortunately, llvm ain't it chief.
>opencl
based. i really wish somebody would knock some sense into vendors and force them to knock off all of this cuda and rocm bullshit. there's no reason we should have to use these dogshit vendor lock-in memes when we have perfectly good APIs for compute that are isomorphic with graphics pipelines.

>>105560977
i'd rather use chez scheme than either desu. codegen is easier and debugging it is easier. it's basically the one usecase i've found sexprs tolerable for.
debugging stuff that uses a c as an il is a royal pain in the ass.
debugging stuff on the gpu is already annoying enough without also having to work with machine-generated c and mapping it to another language on top of that.

>>105561401
>c's terrible memory model
has nothing to do with what makes c a mid choice for an il
oh no, arithmetic over addresses? in my abstract machine code? heavens to betsy, save me MIT! aiieee!!!
Replies: >>105562594 >>105563131
Anonymous
6/11/2025, 6:12:58 PM No.105561664
>>105557302
why not use gnu make on windows?
it's probably a bit of a pain to set up, considering you have to jump through the vc vars hoop, use command.com and have a whole different set of flags. but it's probably less overhead than having a whole .sln to maintain.

microsoft's toolchain seriously sucks lol. i don't know why they require a whole fucking environment to be set up in order to use cl.exe
it's better than the apple situation, but it's still kind of a pain in the ass.
Anonymous
6/11/2025, 7:11:41 PM No.105562274
>>105551266 (OP)
If your language cannot compile itself its useless.
Replies: >>105562486
Anonymous
6/11/2025, 7:32:48 PM No.105562486
>>105562274
all turing complete grammars can do this
Anonymous
6/11/2025, 7:37:20 PM No.105562524
>>105551266 (OP)
real life, unfortunately.
Anonymous
6/11/2025, 7:43:31 PM No.105562594
>>105561564
>oh no, arithmetic over addresses? in my abstract machine code? heavens to betsy, save me MIT! aiieee!!!
I mean aliasing and all that.
Anonymous
6/11/2025, 7:44:33 PM No.105562601
>>105551266 (OP)
ever look into https://c9x.me/compile/ ?
Replies: >>105562639
Anonymous
6/11/2025, 7:48:41 PM No.105562639
>>105562601
the 9front people never cease to amaze lol
Anonymous
6/11/2025, 8:06:22 PM No.105562816
>>105554041
>socialism only when it benefits me
rust-"people" make me fucking sick
Replies: >>105563397 >>105565058
Anonymous
6/11/2025, 8:37:34 PM No.105563131
>>105561564
the ramblings of a madman
Anonymous
6/11/2025, 9:03:25 PM No.105563369
>>105553247
>old arm chipsets outnumber the fuck out of your modern high end hardware
and?
none of them are the same either.
Anonymous
6/11/2025, 9:06:14 PM No.105563397
>>105562816
>noooo your heckin language doesn't guarantee correct compilation for my esoteric software float, NEON ARMv5 application CPU that has to use this gay ABI
the real neat part is realizing your shitty C compiler is just as bad and Rust is at least honest about it.

lucky for most you dipshits though, even well out of life parts still in use are all armv7l parts and they're probably all running bog standard linux 4.9, with the GNU EABI and have a hardware float with most all the basic features, like NEON.
Replies: >>105564519
Anonymous
6/11/2025, 10:45:58 PM No.105564519
>>105563397
>hurr
>more durr at 9
Anonymous
6/11/2025, 11:40:07 PM No.105565058
>>105562816
what? who mentioned socialism?
Anonymous
6/12/2025, 2:48:54 AM No.105566486
null
md5: null🔍
>he fell for the llvmeme
GCChads won