IRC channel logs

2020-02-27.log

back to list of logs

<OriansJ`>dongcarl: yes we saw it after M2-Planet was bootstrapped from cc_x86; we noted it doesn't support structs, gotos or inline assembly. Not to mention it deviates from C such that one couldn't universally develop with GCC and expect matching behavior.
<OriansJ`> https://github.com/cksystemsteaching/selfie/blob/master/grammar.md
<OriansJ`>It lacks chars, arrays, for loops, do while loops and boolean operators (logical or bitwise)
<OriansJ`>It doesn't support non-printable characters in strings, hex/octal/binary numbers
<OriansJ`>It also doesn't support '\'' or '\anything' or any "\thing" strings
<OriansJ`>M2-Planet is 2,339sloc and self.c is 12,799sloc
<fossy>wtf
<fossy>how
<OriansJ`>fossy: ?
<fossy>how is it so much bigger
<fossy>if it has so much less features
<OriansJ`>well it contains a hypervisor ( like the knight vm does in 5,536sloc) and a disassembler (like knight does in 1,458sloc) and a handful of other features
<OriansJ`>It also contains a simple SAT solver
<OriansJ`>and a handful of optimizations
<OriansJ`>also note it is the product of 1,327 commits with 28 contributors
<OriansJ`>Its secton on installing selfie https://github.com/cksystemsteaching/selfie
<OriansJ`>Its step 1 is literally: download and install docker
<OriansJ`>Step 2 is download a binary blob
<OriansJ`>Step 3 involves having to create an online account with them
***ChanServ sets mode: +o rekado_
<NieDzejkob>OriansJ`: these are not steps, but alternatives