-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


Programming Leftovers


Posted by Roy Schestowitz on Mar 26, 2023


Perl Leftovers

Leftovers: KDE, MakuluLinux, Nigeria...



Explaining my fast 6502 code generator


↺ Explaining my fast 6502 code generator


> I reckon my compiler isn't doing more when it comes to high-level optimizations, so the gains must be from the code generation side. This makes sense, as most compilers are multi-target, with backends designed for modern RISC-like systems, not the ancient 6502. It doesn't matter how good GCC or LLVM's high-level optimizations are if they falter at the last leg of the race.


> Still, my compiler also beats those designed for retro and embedded systems, like VBCC, SDCC, and KickC. For this reason, it seemed like a good idea to write about my technique.



How fast do the files read in?


↺ How fast do the files read in?


> I will demonstrate how to generate a 1,000 row and column matrix with random numbers in R, and then save it in different file formats. I will also show how to get the file size of each saved object and benchmark how long it takes to read in each file using different functions.



Greg Casamento: Swift->ObjC interop


↺ Greg Casamento: Swift->ObjC interop


> Some interesting notes. I will update this posting as i find more: * https://dart.dev/guides/libraries/objective-c-interop



Greg Casamento: Compatibility project almost complete


↺ Greg Casamento: Compatibility project almost complete


> As the much villified theme for star trek enterprise says "its been a long road getting from there to here" i am almost done with all of the work that needed to be done to get us to Catalina compatibility in GNUstep. The reason this is still significant is because Apple hasn't made many changes to either the Foundation or AppKit APIs since then. I have been workinf hard over the last three years. All of the new classes are fully tested. Once this effort is completed I am going to focus on printing, which has always been a problem in GS. And possibly a "reference" distribution.



Ryan Barrett on HTTP content negotiation


↺ Ryan Barrett on HTTP content negotiation


> I've been bitten by this before, and agree with Ryan's thoughts:


↺ agree with Ryan's thoughts


> Content negotiation is a feature of HTTP that lets clients ask for, and servers return, different content types based on the request’s Accept header.


> Sounds great, right? Well, no. Content negotiation is the classic example of an idea that sounds good in theory, but for the vast majority of web developers, turns out to be net harmful in practice.


↺ agree with Ryan's thoughts




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Sat Jun 1 08:40:47 2024