00:34:18 -!- bgs has joined. 00:49:14 [[Esolang talk:Sandbox]] https://esolangs.org/w/index.php?diff=109336&oldid=109327 * Ais523 * (-58136) this page is not a sandbox it's for discussing the sandbox 00:50:14 [[Welcome To...]] M https://esolangs.org/w/index.php?diff=109337&oldid=96972 * Ais523 * (+21703) Reverted edits by [[Special:Contributions/Ais523|Ais523]] ([[User talk:Ais523|talk]]) to last revision by [[User:Page crapper from explain xkcd|Page crapper from explain xkcd]] 00:50:48 [[Welcome To...]] https://esolangs.org/w/index.php?diff=109338&oldid=109337 * Ais523 * (-21703) Undo revision 109337 by [[Special:Contributions/Ais523|Ais523]] ([[User talk:Ais523|talk]]) rv misclicked rollback button 00:51:17 the thing about being able to undo vandalism in one click is that sometimes you misclick, and end up redoing vandalism in one click instead 00:51:28 should be fixed now though 00:57:54 What are some interesting esoteric computer architectures that exist as far as memory models/memory ordering sorts of things? 00:58:29 The DEC alfalfa is well-known for being a bit ridiculous, with its split caches and probe queues and things. 00:58:55 I think there's some nice example of a POWER thing without multicopy atomicity which behaves surprisingly. 00:59:03 What are other fun examples? 01:04:04 -!- bgs has quit (Remote host closed the connection). 01:04:18 I don't know the details of how those ones are working, and cannot think of another examples at this time either 01:04:59 x86-64 has some memory write instructions that are less atomic than usual 01:05:17 …meaning that the sfence instruction actually has a use, even though it's normally implied 01:05:50 I think they bypass the cache altogether and just write the cacheline to memory directly once its contents are known, so maybe they don't update the cache coherence mechanism either 01:06:29 although I have the opposite problem with x86, I find it hard to remember precisely what guarantees it actually gives 01:07:30 hmm is it because the answer changes every decade? 01:08:15 Yes, streaming stores are good, but I don't think they make x86 weirder than other architectures. 01:08:28 ooh! GPUs have lock-step memory writes available, in which under certain circumstances multiple threads will all happen to start writing to memory at the exact same time, meaning you can get away without synchronization primitives even though it looks like they should really be required 01:09:14 so, e.g., you can have writes from thread 1 and 2 appear as an atomic block to reads from threads 1025 and 1026 01:09:21 Oh, that reminds me, I saw something about the Nvidia Grace/Hopper CPU/GPU memory architecture being a little bizarro. 01:09:36 In the way they provide coherence across CPU and GPU. 01:09:42 I tried to figure out what was going on with it but I couldn't find a clear explanation. 01:10:26 now that I think about it, it's kind-of mindblowing to imagine an atomic operation being cooperatively carried out by multiple threads 01:11:05 Are these actual threads, running on different cores? 01:11:26 I've done very little GPU programming but I think sometimes they refer to different SIMD lanes as "threads". 01:11:35 "core" is hard to define when it comes to GPUs, it's internally somewhat SIMDy 01:12:51 they have "blocks" which are logically like software threads, in that multiple different blocks can run concurrently and one block can run while another is suspended/blocked, but each block is made out of multiple threads 01:13:20 and the low-level execution units handle multiple threads at the same time, but only those for which the IP is in the same position, and they don't handle a whole block at a time, just a portion of it 01:13:58 so the data flow, arithimetic, register values, etc. are all unique to the thread, but the IP is shared even though the control flow isn't necessarily shared 01:14:53 (you can write an if statement, but both the "then" branch and the "else" branch ends up running unless all the threads that are simultaneously executing make the same choice, and threads to which the current branch doesn't apply just wait for the IP to reach the point where they can continue to run) 01:15:29 also I suspect that for branch-prediction reasons, even if all the threads do make the same choice, both branches end up running unless the amount of skipped code is very large, but I don't know that for certain 01:16:39 anyway, because of this sort of thing, GPUs can work well even on problems that aren't embarrassingly parallel, but optimising for their actual execution model is weird and can be hard to get right 01:16:57 Are there any CPU architectures in common use that don't have coherent caches? 01:17:09 I should say, that have incoherent caches. 01:17:38 I think the least coherent caches have mostly died out at this point 01:18:12 there's a commonly used RISC processor which has a release-bit and an acquire-bit on every instruction, which implies some amount of incoherence, but probably not very much 01:18:42 err, every instruction that accesses memory 01:18:47 also I forget which one 01:19:19 acquire-release doesn't imply incoherence, does it? 01:19:26 Unless it's different from the usual meanings? 01:20:08 I guess not, it could just act as a reordering barrier 01:20:23 with the actual memory accesses always being coherent, but potentially reordered 01:21:07 I think "reordering" is a misleading name for the ways that CPUs can behave with memory things. 01:21:13 -!- wpa has joined. 01:21:20 I meant reordering as in out-of-order execution with a reorder buffer 01:21:38 Oh, I see. 01:22:58 I guess one issue with actually incoherent caches is how you make them coherent again in order to implement an atomic operation 01:24:26 for incoherent writes, I guess you can just pick a write arbitrarily and set. in every cache, the value that was written by that write? from the other CPUs' points of view, it'll be as though the write arrived at that moment 01:24:49 (this isn't sequentially consistent but works fine with acquire and release) 01:25:33 or, hmm 01:26:59 it's too late for me to figure this out, I think – non-atomic memory behaviour is unintuitive enough that I have trouble working it out even when I'm properly awake 01:30:21 -!- ais523 has quit (Quit: quit). 02:33:49 `? life 02:33:52 ​‘Life,’ said Marvin, ‘don't talk to me about life.’ 03:35:57 -!- bgs has joined. 05:30:52 -!- sam has quit (Quit: Lost terminal). 07:36:13 -!- wpa has quit (Ping timeout: 268 seconds). 07:37:34 -!- wpa has joined. 08:25:41 https://www.youtube.com/watch?v=0aJ9dAOWKYk 08:40:02 -!- tromp has joined. 08:48:48 -!- Lord_of_Life has quit (Ping timeout: 240 seconds). 08:49:47 -!- Lord_of_Life has joined. 09:40:49 -!- Sgeo has quit (Read error: Connection reset by peer). 09:56:51 "memory write instructions that are less atomic than usual" => hmm, aren't all memory write instructions non-atomic if they need to cross a page boundary, only you don't notice that when working at C level because at C level writing words unaligned is already UB? 09:57:31 at instruction level, writing and especially reading unaligned is allowed and occasionally useful, though you do have to keep in mind that it comes with a penalty 09:58:23 and yes, there's also the new scatter and gather vector instructions that do multiple writes and reads resp in a way that's even more non-atomic in that it's not only non-atomic wrt other threads but also to interrupts 09:58:27 and faults 10:00:00 " hmm is it because the answer [x86 guarantees] changes every decade?" => it changed in an incompatible way exactly once I think, between 286 and 386, when 386 declared that you need a taken branch between writing and executing a self-modifying instruction 10:05:47 shachaf: oh don't worry, we now have powerful enoguh machines that we can just implement incoherence in very high level software if we need to. I think git can do it out of the box if you generate some sha-1 collisions, and their support for any checksum algorithm other than sha-1 is experimental. and my co-workers insist on storing lots of data not suitable for git in git repositories, though the sha-1 10:05:53 collisions bother me less than that they have huge repositories and the git software makes it hard to partially clone them, unlike svn. 10:06:36 and lest you say that sha-1 collision is too much here, memory also only becomes incoherent when you have an address collision. 10:06:58 sure, memory addresses are shorter than sha-1 checksums, but still 10:44:01 -!- wpa has quit (Ping timeout: 240 seconds). 10:55:36 -!- [ has quit (Quit: ZNC 1.8.2 - https://znc.in). 10:58:47 -!- Noisytoot has joined. 11:26:30 [[Listack]] M https://esolangs.org/w/index.php?diff=109339&oldid=107713 * McChuck * (+174) /* Listack: A symmetric, stackless, stack-based, concatenative language */ 12:03:38 -!- Noisytoot has quit (Quit: ZNC 1.8.2 - https://znc.in). 12:06:43 -!- Noisytoot has joined. 12:19:05 -!- Noisytoot has quit (Ping timeout: 240 seconds). 12:19:50 so I'm watching Technology Connections' video on CED https://www.youtube.com/playlist?list=PLv0jwu7G_DFVP0SGNlBiBtFVkV5LZ7SOU , and I realized something interesting. if you want to design a disk format, you want it fixed rotation speed so each track encodes the same amount of data, and you have a fixed minimal density that you can fit that data into (as opposed to a compromise where, say, most games are 12:19:56 320K long, but you can go past the limit to make 360K long games they just give read errors way more often), then the inner radius of your data must automatically be exactly half the outer radius of the data. 12:23:03 unrelated but heck I'm not supposed to get this strong allergic symptoms until later in the summer, this very warm winter sucks 12:24:55 -!- Noisytoot has joined. 12:30:23 -!- ais523 has joined. 12:36:12 -!- ais523 has quit (Read error: Connection reset by peer). 12:38:02 -!- ais523 has joined. 12:49:58 hi 12:59:10 [[Listack]] M https://esolangs.org/w/index.php?diff=109340&oldid=109339 * McChuck * (+1) /* Listack: A symmetric, stackless, stack-based, concatenative language */ 13:02:27 [[Listack]] M https://esolangs.org/w/index.php?diff=109341&oldid=109340 * McChuck * (+84) /* Listack: A symmetric, stackless, stack-based, concatenative language */ 13:24:31 -!- bgs has quit (Ping timeout: 240 seconds). 13:42:20 -!- bgs has joined. 14:17:23 -!- test has joined. 14:18:47 -!- test has changed nick to CreeperBomb. 14:39:40 -!- CreeperBomb has left. 15:08:34 -!- ais523 has quit (Quit: quit). 15:36:15 [[Talk:Marble Machine]] N https://esolangs.org/w/index.php?oldid=109342 * CreeperBomb * (+1748) Created page with "Alright I'm going to try to explain how this works without knowing for sure how it works, to add information, destub the article, and make it so that others can use it. All of the info comes from the presented programs. The "marble" starts in the top le 16:19:12 fungot, are deciduous trees the ones that are green 12 (deci-duo) months a year? 16:19:13 b_jonas: too bad the upgrade page is 404 and the messenger site doesn't mention the d option to ps. anmaster 16:54:41 -!- wpa has joined. 17:39:43 -!- wpa has quit (Ping timeout: 250 seconds). 18:00:18 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109343&oldid=72635 * KingJellyfish * (+9) /* Graphics implementation */ 18:03:01 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109344&oldid=109343 * KingJellyfish * (+294) /* Virtual Jumps */ 18:03:19 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109345&oldid=109344 * KingJellyfish * (+1) /* Future features and bug fixes */ 18:03:54 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109346&oldid=109345 * KingJellyfish * (+7) /* Virtual Jumps */ 18:15:31 [[Var=Bar]] M https://esolangs.org/w/index.php?diff=109347&oldid=109305 * Kaveh Yousefi * (+34) Improved the diction and formatting of a few command table entries and added a hyperlink to the truth-machine article. 19:05:28 [[Talk:Cedar--]] N https://esolangs.org/w/index.php?oldid=109348 * Joaozin003 * (+116) Created page with "== The syntax is good, to be honest! == Yeah. Pretty normal syntax, although exclude is a bit unusual." 19:05:36 [[Talk:Cedar--]] https://esolangs.org/w/index.php?diff=109349&oldid=109348 * Joaozin003 * (+88) /* The syntax is good, to be honest! */ 19:37:22 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109350&oldid=109346 * KingJellyfish * (-145) /* Event handling */ 19:38:00 [[Befunge-with-graphics]] https://esolangs.org/w/index.php?diff=109351&oldid=109350 * KingJellyfish * (+33) /* Event handling */ 20:29:11 -!- Sgeo has joined. 20:30:13 When, exactly, is (a^b)^c = a^(b*c) valid and when is it invalid? It's certainly invalid for b=1/2 and c=2 when a is negative 20:56:33 -!- ais523 has joined. 20:59:22 [[]] https://esolangs.org/w/index.php?diff=109352&oldid=88046 * RocketRace * (+92) Disambiguate! 21:02:08 -!- ais523 has quit (Read error: Connection reset by peer). 21:03:22 -!- ais523 has joined. 21:05:51 [[User:RocketRace]] https://esolangs.org/w/index.php?diff=109353&oldid=100136 * RocketRace * (+0) TFLite is actually pretty fun 21:06:54 -!- ais523 has quit (Read error: Connection reset by peer). 21:08:42 -!- ais523 has joined. 21:22:02 -!- bgs has quit (Remote host closed the connection). 22:32:39 -!- Guest5 has joined. 22:46:29 -!- Guest5 has quit (Ping timeout: 245 seconds).