This commit is contained in:
Torsten Rüger 2019-08-24 16:58:14 +03:00
parent d3a0aa3d8e
commit 4676019702
3 changed files with 17 additions and 13 deletions

View File

@ -6,7 +6,7 @@ Just few things that have become important enough to write down. Apart from wha
### Line Length ### Line Length
While the days of 80 are over, too big steps seems difficult. I've settled on 100 (ish) While the days of 80 are over, too big steps seems difficult. I've settled on 90 (ish)
### Brackets ### Brackets

View File

@ -31,4 +31,7 @@ guard :minitest , all_on_start: false do # with Minitest::Unit
# message setup # message setup
watch(%r{^lib/mom/instruction/message_setup.rb}) { Dir["test/mom/send/test_setup*.rb"] } watch(%r{^lib/mom/instruction/message_setup.rb}) { Dir["test/mom/send/test_setup*.rb"] }
# mains test
watch(%r{^test/mains/source/(.*)\.rb}) { "test/mains/test_interpreted.rb" }
end end

25
ToDo.md
View File

@ -6,9 +6,11 @@ Some things that would be nice . .
- Better elf support. I think it should be relatively easy to produce an executable binary - Better elf support. I think it should be relatively easy to produce an executable binary
(so linking could be skipped). Off course the possibility to link in another library would be nice (so linking could be skipped). Off course the possibility to link in another library would be nice
- better elf tests - better elf tests
- more mains tests
- ruby spec integration
- better arm coverage (more instructions, better tests) - better arm coverage (more instructions, better tests)
- utf8 support (string improvements generally) - utf8 support (string improvements generally)
- risc optimisations
## Platforms ## Platforms
@ -42,16 +44,15 @@ lock free stuff is the ultimate goal.
Iterate: Iterate:
1. more cpus (ie intel) - more cpus (ie intel)
2. more systems (ie mac) - more systems (ie mac)
3. more syscalls, there are after all some hundreds (most as external gems) more syscalls, there are after all some hundreds (most as external gems)
5. A lot of modern cpu's functionality has to be mapped to ruby and implemented in assembler to be useful - A lot of modern cpu's functionality has to be mapped to ruby and implemented in assembler to be useful
6. Different sized machines, with different register types ? - Different sized machines, with different register types ?
7. on 64bit, there would be 8 bits for types and thus allow for rational, complex, and whatnot - Housekeeping (the superset of gc) is abundant
8. Housekeeping (the superset of gc) is abundant - Any amount of time could be spent on a decent digital tree (see judy). Or possibly Dr.Cliffs hash.
9. Any amount of time could be spent on a decent digital tree (see judy). Or possibly Dr.Cliffs hash. - Also better string/arrays would be good.
10. Also better string/arrays would be good. - The minor point of threads and hopefully lock free primitives to deal with that.
11. The minor point of threads and hopefully lock free primitives to deal with that. - Other languages, python at least, maybe others
12. Other languages, python at least, maybe others
And generally optimise and work towards that perfect world (we never seem to be able to attain). And generally optimise and work towards that perfect world (we never seem to be able to attain).