Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 31-Aug-2025 00:13:12 JST
Haelwenn /элвэн/ :triskell:
@navi Because you can edit the contents of environ? -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 31-Aug-2025 00:15:13 JST
Haelwenn /элвэн/ :triskell:
@a1ba @navi Yeah but well so much of POSIX APIs are unfit for multiple threads… -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Sunday, 31-Aug-2025 00:15:15 JST
:umu: :umu:
@lanodan @navi bad idea in multithreaded programs though -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 31-Aug-2025 00:46:32 JST
Haelwenn /элвэн/ :triskell:
@a1ba @navi At the same time I feel like an entirely new language other than C (or C++) should have been done for threads.
Because threads breaks so much shit if you didn't plan for it, and it's something where the language really should check your stuff for thread-safety. -
Embed this notice
:umu: :umu: (a1ba@suya.place)'s status on Sunday, 31-Aug-2025 00:46:33 JST
:umu: :umu:
@lanodan @navi do setenv in one thread, randomly get crash in another thread deep in external code
love posix -
Embed this notice
James Widman (jameswidman@mastodon.social)'s status on Sunday, 31-Aug-2025 02:27:35 JST
James Widman
@lanodan @navi @a1ba the compiler for this language would take this high-level description and build a dependency graph, and then translate that dependency graph into uses of thread APIs for dispatching & synchronization
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 31-Aug-2025 02:27:35 JST
Haelwenn /элвэн/ :triskell:
@JamesWidman @navi @a1ba Well if it exists it's probably a functional language, as they tend to support parallelization really well but so far I haven't seen one comparable to make(1) where you'd have essentially automatic parallelization. -
Embed this notice
James Widman (jameswidman@mastodon.social)'s status on Sunday, 31-Aug-2025 02:27:36 JST
James Widman
@lanodan @navi @a1ba i don't know if this can work, but i wish we had a system programming language where you get parallelism by expressing things in a way that's similar to how targets & dependencies are expressed in a Makefile (or in a ninja.build file): you express the set of outputs required at some point, and elsewhere, you express the computation that produces those outputs, (and likewise for the dependencies of *those* computations, and so on)...
-
Embed this notice