608 karma · joined May 16, 2014 (12y ago) · 255 submissions
comment 3mo ago · link · parent
I'll definitely check it out and see what I could do. I added two compiler stages - a decent memory ptr ownership tracker and midopt compiler optimizer you could likely use without many changes that improved performance 35% over c2mir.
comment 4mo ago · link · parent
Started with the excellent MIR compiler, and I wrote much of the class/string/json/dict, exceptions and AI made the generics,ownership tracking, and safety checks/traps. Added some go
The memory model is mixed, I ended up using arenas for dictionaries and adding a full ownership checking / safety checking compiler stage.
It's purely for the joy of making something interesting.
comment 9mo ago · link · parent
My recent experience is the opposite. With LLMs, I'm able to delve into the deepest parts of code and systems I never had time to learn. LLMs will get you to the 80% pretty quick - compiles and sometimes even runs.
comment 10mo ago · link · parent
In the end it was faster, cheaper, and more reliable to buy a fat server running our models and pay the bandwidth tax.
comment 1y ago · link · parent
I'll say that grok is really excellent at helping my understand the codebase, but some miss-named functions or variables will trip it up..
comment 1y ago · link · parent
I rewrote the entire queue with lock-free CAS to manage insertions/removals on the list and we finally got some better numbers. But not always! We found it worked best either as a single thread, or during massive contention. With a normal load it wasn't really much better.
comment 1y ago · link · parent
Even this model criticizes the failures of the previous models.
comment 1y ago · link · parent
Did I miss a revolt or something in googley land? A Google model saying “free speech is valuable and diverse opinions are good” is frankly bizarre to see.
comment 1y ago · link · parent
Right now you can just break before the (fun_call)() delegate and disassemble the fun_call in gdb.
The basic trick is to add reloc support to the x86 translate code, mark external calls and replace with 0x0 placeholders, and copy out the machine_code and data segment output to an object file.
I can do basic main functions with simple prints calls but not much more. It’s a hack for now but I’ll refactor it until it’s solid.
comment 1y ago · link · parent
Imagine if Java and C had a love child, basically.
MIR is a fantastic piece of engineering.
Honestly the hardest part is representing types. Having played around with other compilers it seems to be a typical problem.
I’m stuck in the minutiae of representing highly structured complexity and defining behavior in c. I can understand why many languages have an intermediate compiler - it’s too much work and it will probably change over time.
comment 1y ago · link · parent
US domestic TB funding by CDC, through state and local programs, have not been cut.
The Global Fund to Fight AIDS, Tuberculosis and Malaria is still funded by the US congressional appropriations through State department ($6B for 2023-2025) but future funding is in review.
USAID funding for the Global Drug Facility was cut. GDF is a treatment coordinator which helps deliver drugs and treatments to areas in need. GDF is managed by the Stop TB Partnership (a UN OPS program) and has largely been a success so it's not going away as it's funded by multiple nations and private organizations.
State Department could include GDF in the existing emergency humanitarian waiver.
comment 1y ago · link · parent
On the merits, this Court previously held that no provision of § 8468 prevented the plaintiffs' removal. See Mem. Op. at 7. First, the Court noted that “the power of removal from office is incident to the power of appointment” “absent a specific provision to the contrary.” Id. at 6 (quoting Carlucci v. Doe, 488 U.S. 93, 95 (1988) (citation omitted)). Second, the Court held that the plain text of § 8468(b), which provides only that Board members “serve for three years each” on staggered terms, does not meet that standard. Id. at 7. Third, the Court read Parsons v. United States, 167 U.S. 324 (1897), and Myers v. United States, 272 U.S. 52 (1926), to hold that term-of-office provisions, standing alone, do not confer removal protection.
comment 2y ago · link · parent
Perfect.
For IBM, I wrote a crypto filesystem that works similarly in concept, except it was a kernel filesystem. We crypto split the blocks up into 4 parts, stored into cache. A background daemon listened to events and sync'ed blocks to S3 orchestrated with a shared journal.
It's pure magic when you mount a filesystem on clean machine and all your data is "just there."
comment 2y ago · link · parent
At the time the morris worm had inspired some folks to see if they could spread binaries by infecting every disk inserted. That’s all it did….. spread. I think the virus lives off an interrupt generated by disk insertions.
Fortunately it was harmless (except for a few extra crashes) and I had my original OS disks that could be booted from to clean up the disks.
comment 2y ago · link · parent
Even the premise that it was always cheaper to manufacture abroad is flawed in many respects as Congress subsidized offshoring over many years as part of an effort to encourage globalization.
Companies often receive massive tax breaks with write-offs to close US plants, tax credits, zero percent import duties, and lower overall tax rates by shifting their profits and losses through offshore banks.
In many respects profitability has most often been determined by the policies we subsidize. and for decades those policies were essentially all in for the benefit of offshoring.
Comparing the actual cost of production by location is far more complicated than just the cost of materials and labor when there are so many subsidies and policies involved.