i_don_t_know
Joined 11 years ago
Joined 11 years ago
It can also avoid creating intermediate results for quite a few operations, because for example reverse, transpose, etc only change how the arrays are traversed (order in which elements are accessed). You can reuse the original data and change the indexing information. That’s known as beating and dragging.
In particular, it has diagrams of the data structures and how the algorithm operates on them.
Maybe it's trivial to compile Rust code but it's not trivial to build a project with dependencies. I'm trying to get my feet wet with an official USB example project from Embassy on my RP2040. It doesn't work in the latest git repo for some unknown reason (might be my fault, probably is, but it's not obvious to me).
I'm assuming it worked at some point, maybe something changed and someone forgot to update something somewhere (there are lots of example projects). So I thought I'd "git bisect" until I find a working version and go from there. Well, I cannot get it to build against anything older than a year ago and that version also isn't working for me. It's dependency and Rust edition hell.
It's a remake of the Sinclair ZX Spectrum home computer from the 80s, in white.
It integrated with "Function panels". Function panels were our attempt at documenting our library functions. See the second link below. But you could enter values, declare variables, etc and then run the function panel. Behind the scenes, the code is inserted to the interactive window and then run. Results are added back to the function panel.
These also worked while suspended on a breakpoint in your project so available while debugging.
My understanding was that these features were quite popular with customers. They also came it handy internally when we wrote examples and did manual testing.
https://www.ni.com/docs/de-DE/bundle/labwindows-cvi/page/cvi...
https://www.ni.com/docs/de-DE/bundle/labwindows-cvi/page/cvi...
https://irkr.fei.tuke.sk/PPpET/_materialy/CVI/Quick_manual.p...
So maybe do something similar in Rust by expanding how you import and export modules?
Any language that uses layout to determine structure should have a similarly precise definition.
https://patric-sokoll.de/SonstigeSammlungen/Kosmos%20E200/Ha...
My first computer was their CP1. It was aimed at older children and teens. You programmed it in a custom assembly language. The manual included lots of projects and instructions on how to hook it up to their electronics kits.
http://www.8bit-homecomputermuseum.at/computer/kosmos_comput...
http://www.8bit-homecomputermuseum.at/computer/pictures/kosm...
https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-2up...
https://www.linkedin.com/in/peter-ilberg/