Viewing profile — m-ou-se
m-ou-se
HN member- Joined
- Wed, Feb 18, 2015, 8:55 PM UTC
- HN karma
- 369
- Public activity
- 48 items
- HN profile
- View on Hacker News ↗
About m-ou-se
No profile information was provided.
Recent public activity
-
comment
Comment #27264790
It was stabilized in 2019 by accident: https://twitter.com/m_ou_se/status/1396827152859942921 https://github.com/rust-lang/rust/pull/79270
-
comment
Comment #27264140
An important one is missing from this overview: using a const. This is sometimes useful, because it does not require the type to be Copy; only that the value is a constant: const E…
-
comment
Comment #25993352
SEEKING SPONSOR: I work on the Rust standard library and compiler. As of a few months ago, I'm part of the Rust library team, which is the team that manages everything in and aroun…
-
comment
Comment #25612094
`T: 'a` means that you may keep values of type T around for lifetime 'a, but not that they will . So `T: 'static` means that you may keep values of that type around forever, as the…
-
comment
Comment #22908076
Good point! Updated.
-
comment
Comment #22906050
Thanks! Updated.
-
comment
Comment #22906041
Imports work fine. The main reason I wrote this, was to be able to use the Python matplotlib library in Rust: https://twitter.com/m_ou_se/status/1120577172438233088
-
comment
Comment #19736134
It doesn't translate Python to Rust or anything like that, it uses CPython both to compile to Python bytecode and to run it. It doesn't launch a separate interpreter, the interpret…
-
comment
Comment #19731560
It uses the same Python interpreter, but each macro invocation is considered its own module. A later version of the crate will have the possibility to keep the context around to be…
-
comment
Comment #19731041
In Python, all data (even simple integers) are all allocated on the heap. ToPyObject makes a deep copy of everything, converting everything to `PyObject` on the heap, so all data i…
-
comment
Comment #19731006
Matplotlib was one of the reasons I made this. Works just fine: https://github.com/dronesforwork/inline-python/blob/aebabc88...
-
comment
Comment #19729942
At work, we make high performant drone control systems in Rust. But for testing and debugging, we simply use Matplotlib (a Python library) to make plots of simulations, etc. So we …
-
comment
Comment #19729915
Author here. Let me know if you have any questions. :)
- story
-
comment
Comment #19590663
Yes, this was our main worry as well. At first we switched to Rust only for the lower level code, the parts that interfaces with sensors and the motors, that do the data logging, o…
-
comment
Comment #19590576
We do, but it's very minimal for now: https://dronesforwork.nl/ We'll be changing our company name in a few weeks, followed by the launch of a new website which should have a lot m…
-
comment
Comment #19589707
Yes! I'm founder of a start-up (about 10 employees now) that makes flight controllers for Drones, and all the software that runs on them is written in Rust. We don't use STM chips …
- story
-
comment
Comment #19169094
C does not have a modulo operator. It has a remainder operator, which works perfectly fine. Calling C's `%` a 'broken modulo operator' is like calling `+` a 'broken minus operator'…
-
comment
Comment #18933955
They have duck.com and ddg.gg. Both Firefox and Chromium make wrap the url in 'www.' and '.com', so 'duck ' works.
-
comment
Comment #18814506
All of the first challenge's puzzles can be solved with: .thing { background: url(data:image/png;base64,iVBO...); width: ...px; height: ...px; } Where the image data is just the ta…
- story
- story
-
comment
Comment #17483821
Note: It's not a paywall. Simply click 'Eerst verder lezen' to read the full article.
- story