[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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: the GOD stack.png (75 KB, 1000x816)
75 KB
75 KB PNG
Why are you not using the GOD stack, /g/?
>>
don't want to spend too much time in Odin until I know for a fact jai is worth using or not. don't really give a shit about go
>>
nigga where am i using odin in place of go, or vice versa.
>>
>>106515633
>Odin
toylang
>jai
vaporware toylang
>go
feels like toylang but somehow isn't

come home to C++
>>
C++ and Python is the god stack.
>>
File: 1739207573754793.jpg (36 KB, 1440x559)
36 KB
36 KB JPG
>>106515633
because i can be using GEMS
>>
>>106515700
C++ is impossible to read
>>
>>106515633
>go
Pajeets language for street shitters
>odin
meme language shilled by one person on /g/
>jai
Meme language shilled incessantly by trannies who dicksuck ecelebs like jonathan blowjob
>>
odin is too bloated now and go is for fagGots

if odin focused more on portability and still crosscompiled to C i would consider using it
>>
>>106516144
Go was written by ken thompson. Good enough for me.
>>
>>106516131
jai is good doe?
>>
>>106516169
jai sri ram saar
>>
>>106516156
>defer to authority
so-called free thinkers on /g/ lmao
>>
>>106516186
No one here is a free thinker. Every post is just ai
>>
What is this, 2020 coding youtube? Who gives a fuck about a stack? How brown are you?
>>
>>106516335
2020 was 17 years ago =[
>>
>>106515633
Why not just Odin?
Is it not ergonomic enough for ordinary tasks?
>>
>>106516980
No green threads and capturing lambdas
If you are making a web server this is super useful
Also for webservers, GC is kinda recommended
>>
>shitlang only useful because of its ecosystem and DX
>memelang with cool features but no ecosystem
truly a match made in hell
>>
>>106515822
>GEMS
what's that abbreviation for
>>
File: 1749995988958189.gif (263 KB, 270x270)
263 KB
263 KB GIF
>>106515633
I prefer the FAG stack (Firebase, Angular, Go)
GAY stack works too (Go, Astro, YugabyteDB)
>>
Because C and AWK exist. Kerniggas win again.
>>
>>106515633
what a dogshit stack
if you're going to settle on two languages, have your high level lang actually be high level. Go is fucking compiled, meaning you cannot even access a REPL. Elixir + Rust is an actually based stack.
>>106515822
>Elixir
based
>Ruby
why, when you have Elixir?
>>
Why not just GO + C, cgo is already a thing.
>>
i stay away from anything with a "stack" acronym/name.
Odin is also a pick-me language
And Go is Elixir 0.5
>>
>>106515633
For me it's js and rust
>>
>>106517734
for me it's Awk, Nim, asm, Lisp, SQLite, Eiffel, and XML
the ANAL SEX stack
>>
I just Odin for most things because I'm not scared of pointers and I am white.
>>
>>106515700
using C++ for a greenfield project is already shooting yourself in the foot
>>
>>106515700
C++ is a dying language.
>>
>>106519516
>talking like a woman
>>
>>106519980
it's a succinct way to describe a desperate language without value.
>>
File: 1746319067453745.gif (489 KB, 220x275)
489 KB
489 KB GIF
>>106516169
jai is a vaporware scam to milk parasocial trannies into donating
>>106515633
Odin is cool and clearly proved itself to be practical. If it had better namespacing capabilities I'd use it.
Also: Sorry gingerbill, but a language without a self hosted compiler can't ever be a true successor or full alternative to C.
>>
>>106516090
>>106519975
>>106519979
If you are a Rust dev ack yourself.
>>106520180
Jon is too stupid to make an actual scam or make any money (see Braid AE). He only makes Jai to receive e-mails worshipping him and fueling his ego.
>>
Odin fixed everything Go fucked up.

It's also the only new language which has thoughtful design behind it.

Value simplicity.
>>
>>106515633
Go is pretty nice. It's simple but also performant and the standard library is good.
>>
>>106520377
Go didn't fuck up on anything.
>>
File: 1755690113802115.jpg (30 KB, 306x306)
30 KB
30 KB JPG
>>106519849
Personally I like the NIGGER stack
Nginx
InfluxDB
Grafana
Go
Electron
React
Its a good system for ingesting sensor data with a desktop and web frontend for management and graph rendering
>>
>>106515822
You forgot Crystal whose syntax is about the same as Ruby's but it's faster.
>>
>>106520538
>Electron
Why? Are you too much of a faggot to use a browser to access your "sensor data"?
>>
Y Yaml
W Wasm
N Nginx
B Bash
A jAvascript
W js-Wasm

All I need.
>>
I use the crust stack. Use C/C++/rust for everything and avoid anything related to that faggot go gopher like the plague.
>>
>>106520565
clients ask to at some point
>>
File: goy_stack.png (57 KB, 1000x816)
57 KB
57 KB PNG
>>106515633
I've got a better one.
>>
>>106515700
golang built the entire modern infrastructure
>>
>>106515633
I kinda do, Go for web/server stuff and Odin for everything else

But I'm considering switching to C++ for everything
>>
>>106522864
>But I'm considering switching to C++ for everything
Why? Do you enjoy writing 3x more code than you need to?
>>
Haskell + sqlite
>>
>>106515633
>Why are you not using the GOD stack, /g/?

buy an ad
>>
>>106520538
Behold JEW
Java
ECMAScript
WebAssembly
>>
>>106523840
Java
Elixir
Webasm
>>
>>106522284
>>106523840
>>106523850
oy vey
>>
>>106518335
> Elixir + Rust.

What are some use cases for this? And also how do you interop between the two?
>>
>>106525618
Elixir runs on the BEAM (Erlang's virtual machine). by using Elixir over Erlang, you get access to macros, Elixir's ecosystem (Phoenix web framework, Ecto database interactivity, Stream/Enum modules), and the ability to trivially use any Erlang-native functionality (Digraph for directed graphs, ETS for an in-memory database, wxWidgets wrapping for native UI deployments, etc.).
the BEAM has characteristics no other VM has:
- processes (can be thought of as green threads/coroutines) do not share memory. this means they can be separately garbage collected (no pausing the world) and their individual heaps are cache efficient due to their contiguous nature. also, if any process crashes, it cannot leave memory used by another process in a bad state.
- the OTP framework offers abstractions for the grouping together of processes according to common patterns (such as supervision trees, which supervise processes and restart them or whatever upon failure). you can link the failing of a process to cause the failing of another process. you can put these processes onto other machines, and the BEAM will automatically handle communication amongst them over the network.
- each process has its runtime closely watched, and can be interrupted at any moment for another process to take its place. this means that even with many thousands of processes, none of them will be greedy with compute time. this point is extremely important to grasp btw, and it's why other languages that try to compete with the BEAM will never be able to do so.
>>
C++ is the only language that matters. Keep seething jeets.
>>
>>106526089
cont...

- in general, Elixir/Erlang combined offer a data structure for pretty much every problem you might run into, allowing for extremely concise algorithmic work when working with complicated problem domains. the immutable data structures make testing/writing code insanely comfortable. the requirement of explicit state transitions leads to very readable code. tail-call optimized recursion is so fucking nice when compared to traditional looping techniques while not losing out on any performance.
- because processes cannot share memory and per-process heaps are contiguous in memory, one can tinker with the BEAM by limiting the memory consumption of individual processes. one can use watchdogs to restrict reduction counts of processes. you can bound the space and time consumption of individual processes, leading to a form of sandboxing built into the BEAM.
- Elixir has macros, just like Lisp does. these are really fucking nice. an example use case: I signal errors and embed the module/function pair that signaled the error. this is all handled transparently by a short macro I wrote. if I log the error, it is very easy for me to see exactly where the error was triggered. I can match on the error and handle it at runtime too.
- Elixir has a REPL. being able to run code right from a shell is super nice. I use Elixir for back-of-the-hand calculations on a daily basis. I can run Ecto queries right from Elixir. because Ecto is composeable, this results in easier interaction with a database than raw SQL. debugging things is so much easier with a REPL. Elixir also has built-in documentation that you can look at right from the REPL, no browser needed. because all data is immutable, it is impossible to make a mistake that poisons your data at the REPL, which would require you to recreate the state prior to you fucking up in another language (such as Python or Common Lisp).
>>
>>106526099
cont...

anyway, as for Rust: you can use the Rustler crate in order to write NIFs that the BEAM calls directly, or (my preferred approach) is to just have a separate Rust OS process that you communicate with via message passing. almost all tasks that Rust is useful for are long-running number crunching tasks, hence this message passing process is not really a concern.
also, Rust is great for compiling to webasm for running in a browser or whatever. for example, do password hashing by exposing Argon2 to the client using the RustCrypto project. this offloads costly computation from the server to the client (of course, you must be very fucking careful, and definitely not a cryptographic noob)
>>
bump
>>
>>106520180
>a language without a self hosted compiler can't ever be a true successor or full alternative to C
the C compilers in gcc and clang/llvm are written in C++
>>
>>106517734
why Firebase? ever tried Supabase?
>>
>>106527434
Anyone with a brain uses tcc anyhow, retard.

>>106520180
I miss 2008-2022, when Jon was just an irrelevant non-political gamedev with brilliant game design ideas. Both Braid and TW are excellent puzzle games, and Jon was, at worst a sperg that couldn't take any critique from others and instead rambled on about critiquing himself.

I don't give a shit about jai or how long his sokoban game takes, I just hope it's as good as The Witness design wise.



[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.