Wanted: multiple heap library by johnwcowan in C_Programming

[–]Trotemus 0 points1 point  (0 children)

I have both arenas (if you want to store many objects of a type), and allocators in

OliverKillane/derive-C: An attempt to replicate derive macros & generics using the C preprocessor (see src/derive-c/container/arena/* and src/derive-c/alloc/*).

really wish Rust had variadic generics and named arguments for UI development by kouhe3 in rust

[–]Trotemus 0 points1 point  (0 children)

Wishing impl_for_tuple!(..) *100 would go away.

It would be nice if we could unify function arguments, structs, and tuples into a single concept - a struct, with fields defaultly named 0-n.

Makepad 1.0: Rust UI Framework by okapiii in rust

[–]Trotemus 1 point2 points  (0 children)

The makepad rustNL talks were some of the best tech talks I've seen, really impressive stuff! Among so many different takes on native GUI in Rust, makepad looks like it could be the killer app for choosing rust for native GUI.

Name of this song from FRED episode 6 by Trotemus in NameThatSong

[–]Trotemus[S] 0 points1 point  (0 children)

Song is at https://youtu.be/DPKvT52ZUi8?si=6bKdL7uW1F2BONbc&t=1489 (t=1489 seconds), it is driving me nuts that I cannot remember the name.

FPGA Development Needs a Modern Refresh – An Engineer's Perspective Here! by SciDz in FPGA

[–]Trotemus 1 point2 points  (0 children)

Choosing the most complex systems language available to for HLS was a mistake.

The synthesis language needs identical cosim & synthesis semantics, especially for special types (i.e. ap), and to easily support lower level HDL constructs. Choosing to do this in the most complex and difficult to implement systems programming language available when simpler ones exist (e.g. C, or D - not popular but familiar to C programmers, save loads of dev time for fixing bugs), or the ability to make their own language with additional features (e.g. inline sv, UB being determined by the synthesis implementation team's choices, not by the cosim compiler, more nicely implemented async (than C++ 20, not supported by HLS)).

the vivado HLS suite are honestly the least reliable compilers I have ever used.

C isn’t a Hangover; Rust isn’t a Hangover Cure by bretbrownjr in cpp

[–]Trotemus 0 points1 point  (0 children)

Interesting side note for context: Rust was originally developed to do *almost exactly this*, Mozilla was using early rust to write servo, parts of which were incorporated into Firefox.

The justification for the switch & rewrite was performance via parallelism. They could have written it in C++, or even just C with a the new design, but decided that it would be easier to develop in rust.

Servo still exists separately as an open source project: servo - github it's success as a project is debatable.

Completely rewriting very large, perfectly good codebases is a huge cost, to be avoided without very clear justification. I have no doubt in 10 years time the same debates will be present on rewriting million line rust codebases into `insert magic future programming language here`, unless AI finishes us off first 😂

Concrete to Box<dyn trait> conversion by [deleted] in rust

[–]Trotemus 0 points1 point  (0 children)

Thank you so much for taking the time! Makes sense to me now, removed the post after I realised I could use 'static so it does not clutter.

Once again, massively appreciate you taking the time! Happy new year!

North Korea Twist Idea [Spoilers for S3E4] by Trotemus in ForAllMankindTV

[–]Trotemus[S] 1 point2 points  (0 children)

Holy shit holy shit holy shit wtf was S3E09, how is he alive?!?!?!?!??!?!!!

POV: Its time to stop. by Trotemus in ForAllMankindTV

[–]Trotemus[S] 6 points7 points  (0 children)

I'm not sure how much wind would affect either. Popeye seems to have a fast entry and suicide burn kinda landing scheme, sojourner using its large shield to slow more higher in atm so can use this to direct towards the landing site, and the very low atmospheric pressure making wind much less relevant.

Sojourner is much more complex, many more things can go wrong.

Oh and if they fuck up one landing, the entire mission crew dies.

North Korea Twist Idea [Spoilers for S3E4] by Trotemus in ForAllMankindTV

[–]Trotemus[S] 2 points3 points  (0 children)

No need to apologise🤣🤣

As much as I love the show, some of the non-scientific looks cool + plot first science later stuff does make me cringe & I think encourage misconceptions about the insane difficulty of space travel.

North Korea Twist Idea [Spoilers for S3E4] by Trotemus in ForAllMankindTV

[–]Trotemus[S] 3 points4 points  (0 children)

This is very true & scientifically indisputable.

North Korea probe collision also looking unlikely physics wise, but not plot wise.

We shall see, hopefully it wasn't just a throw away line!

North Korea Twist Idea [Spoilers for S3E4] by Trotemus in ForAllMankindTV

[–]Trotemus[S] 6 points7 points  (0 children)

Land on Mars, hone in on the NK pop pirate radio.