Florian Loitsch
Florian Loitsch
@Kainarx Thanks. We are also seeing issues where closing an idle RMT (not actively reading), followed by allocating it and using it for reading doesn't work. That is, the RMT...
I think this issue was resolved.
Toit has also problems if we use the path that readlink gives back for absolute paths. ``` toit import host.file main: file.link --file --source="foo.txt" --target="c:\\some\\absolute\\path" current-link := file.readlink "foo.txt" //...
The test fails here: https://github.com/toitlang/toit/blob/a8a5a92a23abbc9db6cd09df7959f1700e1c9237/tests/toitdoc/inheritance.toit#L46 Run with: ``` git checkout type-inference-test-failure rm -rf build/host--ctp LOCAL_CXXFLAGS="-O0" make HOST=host-ctp TOOLCHAIN=host TOIT_CHECK_PROPAGATED_TYPES=1 sdk ctest --test-dir build/host-ctp --verbose -C slow -R toitdoc/inheritance-test ``` The...
Once fixed please change the code (master/PR) back to using a block.
Good feedback.
We can't really use mixins in performance-critical classes. Some optimizations are disabled.
For the division, Toit is in "good" company. Lots of languages have int / int -> int, but float / int->float and int / float -> float. For the indentation:...
And thanks for the feedback.
> > Toit runs 10-20x faster than MicroPython > > _fwiw_ I see 2x on linux Fannkuch is a microbenchmark that only exercises a small part of the interpreter. Depending...