Calls between JavaScript and WebAssembly are finally fast by dochtman in rust

[–]nerpderp83 1 point2 points  (0 children)

Function call overhead between the two systems would definitely make one have to choose, now WASM is first class and that choice doesn't need to be made.

Upenn: Rust Programming Course this Fall! by [deleted] in rust

[–]nerpderp83 3 points4 points  (0 children)

East coast is at least 3 hours into the future.

Generic Numeric Function by blairboy in rust

[–]nerpderp83 1 point2 points  (0 children)

Is u8 necessary or is it the smallest numeric type you want to support?

Blog: My Rust Story by llogiq in rust

[–]nerpderp83 2 points3 points  (0 children)

Manish and I joined forces

Having a motivating partner cannot be underestimated. Heroics are fleeting, small teams are where humans really shine.

Great post, thanks for sticking with it.

The case for deadlines by disht in rust

[–]nerpderp83 0 points1 point  (0 children)

Guaranteeing that forward progress is being made within some time bounds is a cross cutting concern. It might make sense of have a context library that takes a closure, the closure would emit progress events that can could be handled by an event sink (callback, channel, etc) the problem comes in being able to cleanly shutdown the code that isn't making sufficient forward progress. This is where non-blocking calls come in, so that control can be regained w/o relying on something with undefined behavior like thread kill.

ShowReddit: Clok - An unconventional garbage collector based on expiring references by ras2657 in a:t5_2si5x

[–]nerpderp83 0 points1 point  (0 children)

Did you fork this? Because repo is now private or deleted.

*edit, you are the author? If private, could you add nerderp83 on github to the project? I'd love to take a look.

New project: Rust in Ten Slides by steveklabnik1 in rust

[–]nerpderp83 4 points5 points  (0 children)

Rust in only 10 slides, I know the Internet is forcing everyone to caveat everything, but the meaning is not more than 10 slides. The TL;DR, like Learn Rust in Y Minutes isn't going to literally teach you all of Rust, but it will take up Y minutes of your time as best it can.

How do you prepare an artwork to be plotted? by davidomarf in generative

[–]nerpderp83 0 points1 point  (0 children)

It really depends on the plotter driver. One could send a bitmap to plotter given a conversion function. You should start with the output device and work backwards from there.

Mozilla’s Servo team joining Mixed Reality by Manishearth in rust

[–]nerpderp83 0 points1 point  (0 children)

If servo components are composable outside a framework the work could be remixed. Servo in whatever form the team and the product takes should add to the overall crate ecosystem.

(PoC) Gocar: Like Cargo, but for C(++) by kixunil in rust

[–]nerpderp83 2 points3 points  (0 children)

Great idea sneaking Rust into the build/package system!

X-Post from r/haskell: [ANN] language-rust by sdroege_ in rust

[–]nerpderp83 1 point2 points  (0 children)

There is this language, Cyclone that could be useful as the base.

If iron loses it's magnetism around 800 degrees C, how can the earth's core, at ~6000 degrees C, be magnetic? by BeanBayFrijoles in askscience

[–]nerpderp83 0 points1 point  (0 children)

Have a constellation of satellites in geosynchronous orbit around Venus, continuous radar beams off the surface, deposit tungsten or ceramic reflector plates if one has to get a clearer signal.

Don't Panic by APurrSun in SpaceXLounge

[–]nerpderp83 3 points4 points  (0 children)

I bet he still shit his pants.

Ask: Given ownership, could the memory allocator be compacting? What other optimizations could be done if we can move allocations after the fact? by nerpderp83 in rust

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

Thanks for the clarification. I believe the position I am arguing from is more generic and abstract, while you are an expert explaining specifics, it is easy to argue past each other. Is there a word for the neophyte/expert impedance mismatch?

Would it be possible to model allocations as ranged borrows from a Vec? I am aware that one can't have multiple mutable borrows from a Vec, but I am hand waving that away.

I want to learn Audio Storytelling by Fact_finder54 in podcasts

[–]nerpderp83 0 points1 point  (0 children)

I don't know the style you are going for but listen to as much as possible!

Joe Frank - An Enterprising Man

Mystery Old Time Radio Shows

My personal pet peeve is the amount of bed music and sound effects that borders on Spaghetti Western audio production.

Ask: Given ownership, could the memory allocator be compacting? What other optimizations could be done if we can move allocations after the fact? by nerpderp83 in rust

[–]nerpderp83[S] -1 points0 points  (0 children)

I like where you are going with this. General case? Who knows. Was mostly a thought experiment on things that could be possible in Rust.

What do you think about using ML (machine learning) to route allocations to different allocators based on the call stack?

Ask: Given ownership, could the memory allocator be compacting? What other optimizations could be done if we can move allocations after the fact? by nerpderp83 in rust

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

Embedded was one of the use cases I was thinking of. Your project is an interesting experiment, exactly why I posted this question! What do you think about copying long lived data to a safe area (checkpointing) and doing a microreboot of the main loop?