[{"data":1,"prerenderedAt":491},["ShallowReactive",2],{"project-47132102":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":46,"post_text":48,"what":49,"said":82,"maker_in_thread":191,"shape":198,"grid":203,"attempts":453,"same_week":454,"maker_shows":38,"maker_hidden":483,"reader_version":484,"card":485},"47132102","X86CSS","An x86 CPU emulator written in CSS","title","Show HN: X86CSS – An x86 CPU emulator written in CSS","https:\u002F\u002Flyra.horse\u002Fx86css\u002F","lyra.horse","rebane2001",1771900034,2026,275,93,171,4366,4,"legend","languages","cpu emulator","web_app",[24,25,26,27],"css","x86 emulator","turing complete css","8086","mixed",-0.175,{"positive":31,"neutral":32,"mixed":33,"critical":34},7,10,1,14,32,{"idea":37,"privacy":40,"execution":43,"docs":44,"design":45},{"positive":38,"critical":39},3,9,{"positive":41,"critical":42},0,2,{"positive":41,"critical":41},{"positive":41,"critical":33},{"positive":33,"critical":41},[41,41,33,41,41,33,41,41,41,41,38,41,41,33,38,33,41,33,38,38,47,47,33,47,33,41,33,33,38,38,33,38,33,41,41,41,38,33,47,41],5,null,{"problem":50,"audience":48,"pricing":48,"motivation":61,"time_to_build":48,"stack":68,"openness":81,"stage":81,"team_size":81},{"value":51,"source":52,"evidence":53},"Demonstrates a CPU emulator running with zero user input, using only CSS","maker",[54,58],{"id":55,"by":56,"text":57},"47133504","Dylan16807","> A hover-based clock, such as the one in Jane Ori's CPU Hack, is fast and stable, but requires you to hold your mouse on the screen, which some people claim does not count as…",{"id":59,"by":11,"text":60},"47134374","I wasn't sure whether to address the disconnect in the FAQ - I wanted it to be short and readable. The idea is that, since a long time ago, there has always been demos that prove…",{"value":62,"source":52,"evidence":63},"Show that CSS can be made Turing complete without user input",[64,65],{"id":59,"by":11,"text":60},{"id":66,"by":11,"text":67},"47140599","clock != looping, those examples already loop (dont need a line per iteration), but just dont have a built-in clock and requiring a clock is imo dismissable, because pretty much…",[69,75],{"value":70,"source":52,"evidence":71},"CSS",[72],{"id":73,"by":11,"text":74},"47132696","It relies on a few things, but @functions, if() statements, and container style queries are the main ones.",{"value":76,"source":52,"evidence":77},"Python build script",[78],{"id":79,"by":11,"text":80},"47143335","it's a placeholder that gets replaces by the python script on build","unknown",{"praise":83,"objections":108,"requests":153,"questions":168,"alternatives":182},[84,100],{"value":85,"source":86,"evidence":87},"Impressive technical achievement and clever clock engineering","commenter",[88,92,96],{"id":89,"by":90,"text":91},"47136173","naillang","> There is absolutely no reason for CSS to be turing complete. I'd push back slightly — not on the practical point (obviously yes), but on the \"why bother\" question. The…",{"id":93,"by":94,"text":95},"47132810","MetaMonk","this is incredible",{"id":97,"by":98,"text":99},"47135656","ebolyen","The moxy of this is inspiring. I'm curious to know what you would rate as the most important features to make this work? It seems like calc+if do a lot of the heavy lifting, but…",{"value":101,"source":86,"evidence":102},"Fun and inspiring demo",[103,107],{"id":104,"by":105,"text":106},"47133824","hudecekdev","This is absolutely horrible... in a good way. Kinda like Doom in a PDF. Well done.",{"id":97,"by":98,"text":99},[109,124,135,146],{"value":110,"source":86,"evidence":111},"CSS should not be Turing complete; it is unnecessary complexity",[112,116,120],{"id":113,"by":114,"text":115},"47132667","dmitrygr","There is absolutely no reason for css to be turing complete. None. That being said, well done",{"id":117,"by":118,"text":119},"47133427","freakynit","Incredible achievement. Horrible development on CSS front. CSS should NOT be becoming turing complete. Nor any other DSL.",{"id":121,"by":122,"text":123},"47136325","mbreese","This is a cool demo, but it tells me that CSS might be too complex now. Why should you be able to emulate a CPU with a styling language? I’m not sure what you get by using a…",{"value":125,"source":86,"evidence":126},"Calling it x86 is misleading since it only implements 8086 instructions",[127,131],{"id":128,"by":129,"text":130},"47137626","antonvs","The point is that the 8086 doesn't have anything close to the instruction set now referred to as x86_64 or even x86_32. Asking which it is is asking which instruction set it…",{"id":132,"by":133,"text":134},"47134397","voidUpdate","The instruction matrix they provide only includes 8086 instructions, not 186, 286 etc, which are all x86, hence the x at the start. From that wikipedia article, \"The term \"x86\"…",{"value":136,"source":86,"evidence":137},"Only works in Chromium-based browsers",[138,142],{"id":139,"by":140,"text":141},"47132994","gurjeet","> Your browser is unable to run this demo. Please try with an up-to-date Chromium-based browser. Sorry to see internet regressing to Internet Explorer days.",{"id":143,"by":144,"text":145},"47134058","_s_a_m_","Only Chrome ..",{"value":147,"source":86,"evidence":148},"Security risk if CSS can compute in restricted contexts",[149],{"id":150,"by":151,"text":152},"47142914","umairnadeem123","the security implications here are underrated. CSS is evaluated in contexts where javascript is explicitly blocked - email clients, markdown renderers with sanitizers,…",[154,161],{"value":155,"source":86,"evidence":156},"A how-it-works write-up",[157],{"id":158,"by":159,"text":160},"47142481","randfur","Really looking forward to a how it works post. What is that READMEM_1??",{"value":162,"source":86,"evidence":163},"Random number support",[164],{"id":165,"by":166,"text":167},"47136137","btdmaster","Very cool. The horsle demo made me think, how hard would it be to add a virtual memory address (or a non-8086 RAND instruction) that returns a random byte (that would allow it to…",[169,175],{"value":170,"source":86,"evidence":171},"Is it x86 or 8086 compatible",[172],{"id":173,"by":133,"text":174},"47134250","So is this x86 compatible, or 8086 compatible? Because those are different things",{"value":176,"source":86,"evidence":177},"Does it work in non-Chrome browsers",[178],{"id":179,"by":180,"text":181},"47132669","csmantle","I think we can look forward to running this on more non-Chrome browsers once @function [0] gets wider support? [0]: https:\u002F\u002Fcaniuse.com\u002Fwf-function",[183,187],{"value":184,"source":86,"evidence":185},"Clock-by-hover CSS demos such as Jane Ori's CPU Hack",[186],{"id":55,"by":56,"text":57},{"value":188,"source":86,"evidence":189},"Redstone and Game of Life computers",[190],{"id":89,"by":90,"text":91},{"comments":34,"answered":47,"key":192},[193,194,195],{"id":59,"text":60},{"id":66,"text":67},{"id":196,"text":197},"47143148","Yes, CSS binary data transfer is possible in bith directions.",{"commenters":199,"max_depth":200,"maker_replies":34,"first_comment_mins":201,"lifespan_hours":202},57,6,55,49,[204,206,208,210,212,214,216,219,222,224,226,228,232,235,236,239,242,244,246,248,251,253,255,257,259,263,266,268,270,274,277,279,281,285,288,290,293,296,299,302,305,307,311,313,316,320,324,325,326,329,331,336,339,341,343,345,347,348,351,354,356,358,360,362,363,365,366,368,372,374,375,379,381,385,389,392,396,400,402,405,408,411,414,417,419,421,423,425,427,432,434,436,439,442,445,447,450],[55,41,41,205,56,41],"commenter\u002Fpositive\u002Fnone",[59,41,41,207,11,33],"commenter\u002Fneutral\u002Fidea",[209,41,41,207,56,41],"47140149",[66,41,41,211,11,33],"commenter\u002Fneutral\u002Fnone",[213,41,41,211,56,41],"47141381",[121,33,33,215,122,41],"project\u002Fcritical\u002Fidea",[217,33,41,207,218,41],"47136460","FartyMcFarter",[220,33,41,211,221,41],"47136701","lproven",[223,33,41,211,56,41],"47141546",[225,33,41,211,221,41],"47152898",[227,33,41,211,56,41],"47155965",[229,33,41,230,231,41],"47136799","other\u002Fneutral\u002Fnone","mycall",[233,33,41,211,234,41],"47139909","namuol",[113,42,33,215,114,41],[237,42,41,230,238,41],"47133223","notepad0x90",[240,42,41,230,241,41],"47133446","Leszek",[243,42,41,230,238,41],"47141061",[245,42,41,230,241,41],"47143062",[247,42,41,230,238,41],"47144120",[249,42,41,230,250,41],"47133586","nsonha",[252,42,41,230,238,41],"47141080",[254,42,41,230,250,41],"47161337",[89,42,41,256,90,41],"commenter\u002Fpositive\u002Fidea",[258,42,41,230,56,41],"47141971",[260,38,38,261,262,41],"47135464","project\u002Fmixed\u002Fidea","senfiaj",[264,38,41,230,265,41],"47136120","0x7cfe",[267,38,41,230,262,41],"47138968",[196,38,41,269,11,33],"maker\u002Fneutral\u002Fnone",[271,38,41,272,273,41],"47144330","other\u002Fneutral\u002Fprivacy","WorldMaker",[275,18,41,230,276,41],"47132691","notpushkin",[278,18,41,269,11,33],"47132725",[280,18,38,269,276,41],"47146710",[282,18,33,283,284,41],"47133766","project\u002Fcritical\u002Fprivacy","carra",[286,18,41,211,287,41],"47136967","magicalist",[165,47,38,289,166,41],"project\u002Fneutral\u002Fexecution",[291,47,41,292,11,33],"47136169","maker\u002Fneutral\u002Fexecution",[294,47,38,289,295,41],"47140824","Sesse__",[297,200,33,215,298,41],"47135701","RedShift1",[300,200,41,230,301,41],"47135858","sgjohnson",[303,200,41,230,304,41],"47138215","jamal-kumar",[306,200,41,230,301,41],"47138939",[308,31,38,309,310,41],"47139151","project\u002Fneutral\u002Fidea","BirAdam",[117,312,33,215,118,41],8,[314,312,41,230,315,41],"47134939","mspreij",[317,312,38,318,319,41],"47143300","project\u002Fneutral\u002Fnone","omoikane",[321,312,41,322,323,41],"47135286","other\u002Fneutral\u002Fidea","pjmlp",[179,39,38,318,180,41],[73,39,41,269,11,33],[327,39,41,230,328,41],"47134618","culi",[97,32,47,330,98,41],"project\u002Fpositive\u002Fidea",[332,333,47,334,335,41],"47132783",11,"project\u002Fpositive\u002Fnone","andrewstuart",[337,338,41,230,234,41],"47139989",12,[340,338,41,230,56,41],"47141720",[342,338,41,230,234,41],"47146533",[344,338,33,215,56,41],"47147052",[104,346,47,334,105,41],13,[173,34,38,318,133,41],[349,34,41,230,350,41],"47134299","sunbum",[352,34,33,353,133,41],"47134378","project\u002Fcritical\u002Fdocs",[355,34,41,269,11,33],"47134415",[357,34,41,211,133,41],"47134482",[359,34,41,309,11,33],"47134551",[361,34,41,309,11,33],"47134348",[132,34,33,215,133,41],[364,34,41,211,11,33],"47134429",[128,34,33,215,129,41],[367,34,41,309,11,33],"47138242",[369,34,38,370,371,41],"47134916","project\u002Fneutral\u002Fdocs","bux93",[158,373,38,370,159,41],15,[79,373,41,289,11,33],[376,377,33,215,378,41],"47133500",16,"Aloha",[93,380,47,334,94,41],17,[382,383,41,230,384,41],"47135345",18,"warpspin",[386,387,41,230,388,41],"47135121",19,"nottorp",[143,390,33,391,144,41],20,"project\u002Fcritical\u002Fnone",[393,394,38,318,395,41],"47137527",21,"NoiseBert69",[397,398,41,230,399,41],"47135207",22,"desdenova",[139,401,33,391,140,41],23,[403,401,41,211,404,41],"47133037","StilesCrisis",[406,401,41,211,407,41],"47133780","toast0",[409,401,41,230,410,41],"47134106","anthk",[412,401,41,230,413,41],"47134595","robin_reala",[415,401,41,230,416,41],"47133091","harsh-trvth",[418,401,41,211,276,41],"47133096",[420,401,41,230,416,41],"47134082",[422,401,41,211,276,41],"47135839",[424,401,41,230,159,41],"47133574",[150,426,33,283,151,41],24,[428,429,47,430,431,41],"47132458",25,"project\u002Fpositive\u002Fdesign","zenon_paradox",[433,429,41,230,11,33],"47132733",[435,429,41,230,276,41],"47133112",[437,438,33,215,250,41],"47133549",26,[440,438,47,330,441,41],"47134410","saagarjha",[443,438,47,330,444,41],"47134688","marmakoide",[446,438,41,269,11,33],"47134790",[448,438,41,230,449,41],"47135084","tvshtr",[451,438,41,230,452,41],"47135268","sakesun",[],[455,460,465,470,474,479],{"id":456,"name":457,"points":458,"category":459},"47075124","Micasa",657,"productivity",{"id":461,"name":462,"points":463,"category":464},"47114530","CIA World Factbook Archive",496,"learning_science",{"id":466,"name":467,"points":468,"category":469},"47104667","ntransformer",395,"ai",{"id":471,"name":472,"points":473,"category":469},"47131225","Steerling-8B",328,{"id":475,"name":476,"points":477,"category":478},"47123631","PgDog",326,"infrastructure",{"id":480,"name":481,"points":482,"category":469},"47143755","Moonshine Open-Weights STT models",316,false,"v2",{"id":486,"name":5,"line":6,"ai":483,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":487,"top":18,"kw":488,"maker":11,"domain":10,"tier":19,"attempts":41,"strip":489,"url":9,"mix":490,"praise":85,"objection":110,"sub":21},47132102,-0.17,[24,25,26,27],"0010010000300131013355151011331310003150",[31,32,33,34],1793991145306]