[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.16168805 [View]
File: 1.22 MB, 1191x1684, Zuikaku1.jpg [View same] [iqdb] [saucenao] [google]
16168805

>>16168729
Working on an assembler for MAIDS (Meta Assembly Instruction Definition System).

MAIDS takes code written in MAIDS (Meta Assembly Instruction Definition Syntax) and makes machine code. It also performs memory safety checks, so the compiler doesn't have to because if you write code which isn't memory safe, MAIDS won't assemble it.

Now when you make a compiler, you use MAIDS as a compilation target. If MAIDS can assemble the MAIDS code your compiler generated, then your program is memory safe.

With this design of moving memory safety checks to the assembler rather than the compiler, you can make a system where all compilers basically get memory safety for free, by virtue of compiling to MAIDS.

So now, you are a maid who wants to make a C-like compiler for example. So you write your compiler and it generates MAIDS code and now you have C-Like for MAIDS. C-Like for MAIDS compiles to MAIDS, and then you assemble it with MAIDS for RISC-V or MAIDS for x86 or whatever you need, so long as a MAIDS implementation exists for it, and you get memory safe machine code that runs on whatever you chose.

>>16168744
PILOT was designed to be a minimal systems language for old computers. You can make compilers/assemblers/operating systems with it. I got a lot of ideas for MAIDS by reading about PILOT and if I can see a lot of PILOT example code it might cause more ideas and make MAIDS better.

>>16168760
I don't have any money. My Science Foundation doesn't get grants or anything like this. This is fine though, because computers, pens, and paper are all cheap and abundant. If you are approximately forty or older, there is a good chance that you own a personal computer which is more powerful, possibly by orders of magnitude, than Super Computers which were, during your own living memory, considered capable of nearly miraculous things.

Part of the purpose of my life is to remind people they have Super Computers and ask them, please use it to compute something.

Navigation
View posts[+24][+48][+96]