Forum logs for 15 Jun 2019
mircea_popescu: | meanwhile in other news, https://i.imgur.com/yloPWi5.jpg | [13:39] |
asciilifeform: | defective photo!111 they're clothed! | [14:13] |
mircea_popescu: | lol | [14:20] |
mircea_popescu: | women have this great advantage, that they cvan fuck dressed. | [14:49] |
BingoBoingo: | Lesbian priviledge! | [15:07] |
asciilifeform: | you can just as dressed, if zipper worx, neh | [15:07] |
mircea_popescu: | i dunno, dood... lame joke re intromission. what can i do. | [15:07] |
* asciilifeform | back to ffaism, after short 'vacation' . will order piz irons in coming 2wk, as the req'd fiatola piles up | [15:08] |
asciilifeform: | ftr, during 'vacation' wrote a vehehery rought draft of item prev. discussed in log | [15:09] |
a111: | Logged on 2019-06-04 13:29 asciilifeform: http://btcbase.org/log/2019-06-04#1917019 << i'ma describe, for the l0gz, the hypothetical. suppose mips emu in asm ( the heathen item in fact compiles to a 30kB elf , not esp. complex, but would want clean rewrite really ). this'd be proggy that takes disk image and it tx/rx raw frames to/from nic, so can have own ip etc. then 1 large amd box can host coupla 100 instances of mips linux from known image. <1s teardown/bringup. | [15:09] |
mircea_popescu: | true vacation. | [15:10] |
asciilifeform: | it aint ready for primetime tho, must admit | [15:10] |
asciilifeform: | emulates errything but the page table mechanism, which is somewhat gnarly even on mips (tho miniscule compared to pc's) | [15:10] |
asciilifeform: | hand-massaged asm for pipelineism etc, worx out to <12kB total bin so far. | [15:11] |
asciilifeform: | in next vacation i'ma wrap it up & genesis. | [15:11] |
asciilifeform: | almost all of the sim-instrs fit in amd64's 32byte cache line load. | [15:13] |
asciilifeform: | aim is a 'mips 4000' compat. item (for ease of hardwarization, when time comes) if anyone cares. and at some pt will also have to port gnat, cuntoo... to it. | [15:14] |
mircea_popescu: | not bad though | [15:15] |
mircea_popescu: | not bad at all. | [15:15] |
asciilifeform: | you run it as e.g. ./mips disk.img 31337 and connect on latter port, get uart. | [15:16] |
asciilifeform: | about 2000 loc of (somewhat macroistic) nasm atm, but still within bound of 'fit in head' imho | [15:17] |
asciilifeform: | ( for n00bs -- why mips? cuz pretty small instr set, and fixed-length codes and theoretically existing gcc backend. really no other reason. ) | [15:18] |
asciilifeform: | if folx come up with serious use for item outside of piz shared cluster (where it is imho direly needed) i'ma also do a 64bit mips at some pt. | [15:18] |
asciilifeform: | (for instance 1 possible application is mircea_popescu's 'uci'...) | [15:19] |
asciilifeform: | instr. decoder snippet, to whet appetites. | [15:21] |
asciilifeform: | to sorta tie into the 'games' thrd, found out by way of digging for mipsisms, that : 'playstation 1' toy box was apparently a mips (3000) . | [15:27] |
diana_coman: | heh, sounds like a very nice vacation indeed | [15:27] |
asciilifeform: | strangely enuff, dun seem that any of the game emulator people, ever baked a properly hand-asmed emu for it | [15:28] |
* asciilifeform | actually scoured 'shithub' & etc. , found none | [15:28] |
asciilifeform: | notably, i reject bellard's approach to emuism , where he 'dynamically recompiles' . imho it aint worth the 9000x moar complex clockwork. | [15:29] |
asciilifeform: | there is ~not~ a shortage of irons. but there ~is~ a shortage of soft that actually behaves to spec and fitsinhead. | [15:30] |
asciilifeform: | in my clockwork there is no heap allocation, and errything that can live in machine reg, does. (the only allocation is one mmap, for the emu-ram, a user-specified x GB chunk, after that 100% regs/stack) | [15:31] |
asciilifeform: | stack is also statically allotted on warmup, a la ffa. | [15:32] |
diana_coman: | nice | [15:33] |
asciilifeform: | in principle possible to add e.g. vga to this, and have pc boot straight into it. | [15:33] |
mircea_popescu: | i think you have a point, re compiles. | [15:44] |
asciilifeform: | ever tried to read bellard's 'qemu' ? i dunno if decade would be enough to eat it, trb-style, even if did nuffin else. | [15:44] |
asciilifeform: | ( recall that there's been 2-3 published vulns for it per month, for , what, 5y nao ) | [15:45] |
asciilifeform: | other aspect of this, picture trying to rewrite a 'dynamic' emu like bellard's, to run on e.g. arm. | [15:46] |
asciilifeform: | it won't even astonish asciilifeform if in the end finds out that purely-interpreter algo actually clocks faster on recent (10y) pc irons than 'dynamic'. cuz fits in l0 cache and dun rewrite executable pages (i.e. dun blow the cache erry time it farts) | [15:48] |
asciilifeform: | incidentally when asming on amd (possibly intel also, but i threw out my intel datashits..) can hand-crank the cache when desired. | [15:50] |
asciilifeform: | 1 example of sim-inst, 'branch on less than zero', to give illustration of the moving parts. | [15:55] |
asciilifeform: | i.e. ffa-style mux for the sim-branch clockwork. | [15:56] |
* mircea_popescu | is listening quietly. | [15:59] |
asciilifeform: | the only thing to add, possibly for n00bz, is the observation that you can actually use all the machine regs, as pictured above, if you dun have any c or other compiled lang in the proggy | [16:00] |
asciilifeform: | can reclaim e.g. ebp, r8-15 etc, which normally clobbered by the proc call abi. | [16:00] |
asciilifeform: | ( must save/load'em when calling unix to drive console i/o, disk, etc. when under a unix, but on bare irons not even this ) | [16:01] |
asciilifeform: | much broader range of things you can do, if yer asmism is standalone rather than inlined into gnat etc. | [16:02] |
asciilifeform: | theoretically, in naked iron variant, can simply translate the mips page tbl into pc's. but this is for much later. | [16:03] |
asciilifeform: | folx w/ nitpicks, thoughts re potential applications, etc. plox to write in! | [16:04] |
* asciilifeform | bbl:teatime! | [16:04] |
lobbes: | !!rated Mocky | [16:59] |
deedbot: | lobbes rated Mocky 1 at 2018/05/19 00:55:42 << newblood^rad does things, keeps blog | [16:59] |
lobbes: | !!rate Mocky 3 met irl he's good people | [17:00] |
deedbot: | Get your OTP: http://p.bvulpes.com/pastes/Zq7xJ/?raw=true | [17:00] |
lobbes: | !!v 7B574A17134617B82BCABC7F4C594A2099410B96224080033340816245C747B5 | [17:01] |
deedbot: | lobbes updated rating of Mocky from 1 to 3 << met irl he's good people | [17:01] |
mircea_popescu: | and so the web grows!!! | [17:11] |
Mocky: | !!v F4D4496A7111453C0292B2DE520A9457DD1A00C8F3A8E34333C48FDEBDFB99C0 | [18:58] |
deedbot: | Mocky rated lobbes 3 << we shared firewater | [18:58] |
BingoBoingo: | And the WoT grows meatier in its fibers | [19:30] |
Category: Logs