Hybrid Binaries On Windows For ARM: ARM64EC And ARM64X Explained

With ARM processors increasingly becoming part of the desktop ecosystem, porting code that was written for x86_64 platforms is both necessary and a massive undertaking. For many codebases a simple recompile may be all it takes, but where this is not straightforward Microsoft’s ARM64EC (for ‘Emulator Compatible’) Application Binary Interface (ABI) provides a transition path. Unlike Apple’s ‘Fat Binaries’, this features hybrid PE executables (ARM64 eXtended, or ARM64X) that run mixed ARM64EC and x86_64 binary code on Windows 11 ARM systems. An in-depth explanation is provided by one of the authors, [Darek Mihocka].

ARM64EC was announced by Microsoft on June 28, 2021 as a new feature in Windows 11 for ARM, with more recently Qualcomm putting it forward during the 2024 Game Developers Conference (GDC) as one reason why high-performance gaming on its Snapdragon SoCs should be much easier than often assumed. Naturally, this assumes that Windows 11 is being used, as it contains the x86_64 emulator with ARM64EC support. The major difference between plain ARMv8 and ARM64EC code is that the latter has changes on an ABI level to e.g. calling conventions that ease interoperability between emulated x86_64 and ARM64 code.

Although technologically impressive, Windows 11’s marketshare is still rather small, even before looking at Windows 11 on ARM. It’ll be interesting to see whether Qualcomm’s bravado comes to fruition, and make ARM64EC more relevant for the average software developer.

3D Printing Real Wood With Just Cellulose And Lignin

Although the components of wood – cellulose and lignin – are exceedingly cheap and plentiful, combining these into a wood-like structure is not straightforward, despite many attempts to make these components somehow self-assemble. A recent attempt by [MD Shajedul Hoque Thakur] and colleagues as published in Science Advances now may have come closest to 3D printing literal wood using cellulose and lignin ink, using direct ink writing (DIW) as additive manufacturing method.

Microstructures of 3D-printed wood after printing and post-printing operations. (Credit: Thakur et al., 2024)
Microstructures of 3D printed wood after printing and post-printing operations. (Credit: Thakur et al., 2024)

This water-based ink was created by mixing TOCN (tempo-oxidized cellulose nanofiber), a 10.6 wt % aqueous CNC (cellulose nanocrystals) and lignin in a 15:142:10 ratio, giving it roughly the viscosity of clay. The purpose of having both TOCNs and CNCs is to replicate the crystalline and amorphous cellulose elements of wood-based cellulose.

This ink was printed from a syringe head (SDS-60) installed in a Hyrel 3D Engine HR 3D printer. This printer is much like your average FDM printer, just targeting bioprinting and a wide range of heads to print and handle various attachments in a laboratory setting. The ink was extruded into specific shapes that were either freeze dried to get rid of the liquid component, or additionally also heated (at 180°C), with a third set of samples put into a hot press. These additional steps seem to promote the binding of the lignin and create a more durable result.

Continue reading “3D Printing Real Wood With Just Cellulose And Lignin”

Complex Organic Chemistry In Sulfuric Acid And Life On Venus

Finding extraterrestrial life in any form would be truly one of the largest discoveries in humankind’s history, yet after decades of scouring the surface of Mars and investigating other bodies like asteroids, we still have found no evidence. While we generally assume that we’re looking for carbon-based lifeforms in a water-rich environment like Jupiter’s moon Europa, what if complex organic chemistry would be just as happy with sulfuric acid (H2SO4) as solvent rather than dihydrogen monoxide (H2O)? This is the premise behind a range of recent studies, with a newly published research article in Astrobiology by [Maxwell D. Seager] and colleagues lending credence to this idea.

Previous studies have shown that organic chemistry in concentrated sulfuric acid is possible, and that nucleic acid bases – including adenosine, cytosine, guanine, thymine and uracil which form DNA – are also stable in this environment, which is similar to that of the Venusian clouds at an altitude where air pressure is roughly one atmosphere. In this new article, twenty amino acids were exposed to the concentrations of sulfuric acid usually found on Venus, at 98% and 81%, with the rest being water. Of these, 11 were unchanged after 4 weeks, 9 were reactive on their side chains, much like they would have been in pure water. Only tryptophan ended up being unstable, but as the researchers note, not all amino acids are stable in water either.

Continue reading “Complex Organic Chemistry In Sulfuric Acid And Life On Venus”

The Lunar Odyssey: Moon Landings From The 1960s To Today’s Attempts

With the recent string of lunar landing attempts, it’s interesting to consider how much things have changed – or stayed the same – since the first soft landing attempts in the 1960s with the US Ranger and USSR Luna landers. During the 1950s the possibility of landing a spacecraft on the Moon’s surface was investigated and attempted by both the US and USSR. This resulted in a number of lunar lander missions in the 1960s, with the US’s Ranger 3 and 5 missing the Moon, Ranger 4 nearly missing it but instead crashing into the far side of the Moon, and eventually the USSR’s Luna 9 making the first touchdown on the lunar surface in 1966 after a string of USSR mission failures.

What’s perhaps most interesting was how these first US and USSR spacecraft managed to touch down, with Luna 9 opting to inflate a landing airbag and bounce until it came to a halt. This approach had doomed Luna 8, as its airbag got punctured during inflating, causing a hard crash. Meanwhile the US’s Surveyor 1 was the first US spacecraft to land on the Moon, opting to use a solid-fuel retrorocket to slow the craft down and three liquid-fueled vernier thrusters to prepare it for a drop down from 3.4 meters onto the lunar surface.

Now, nearly 60 years later, the landers we sent regularly make it to the lunar surface, but more often than not end up crashing or toppling over into awkward positions. How much have lunar landings really changed?

Continue reading “The Lunar Odyssey: Moon Landings From The 1960s To Today’s Attempts”

Commodore CHESSmate Replica Runs On The ESP32

The Commodore CHESSmate chess computer might not be terribly well known, but that doesn’t make it any less worthy of being reproduced. If anything it is more important, as it gives more people an opportunity to use one of these devices, yet beyond a purely emulated experience the real user interface is harder to experience.

Internals of the reproduction Commodore ChessMate (Credit: Michael Gardi)

This is where [Michael Gardi]’s modernized replica provides a highly accessible version, consisting of a custom PCB with an ESP32 as the brains of the system. Although decidedly overkill next to the 6502 in the original CHESSmate, it makes the project far easier for others to assemble as it contains few components that shouldn’t be readily available.

The ESP32 is mounted on a small daughterboard which plugs into the main PCB with the buttons, LEDs and indicators. The whole stack is then inserted into the 3D printed reproduction case. These 3D models along with the ESP32 port of the CHESSmate firmware can be found in the GitHub repository, along with a minimalist frame and a ‘CHESSmate Lite’ version as alternative enclosure options for those who somehow don’t appreciate the delightful 1980s aesthetics.

We covered the Commodore CHESSmate last year, including a highly faithful reproduction built by [Hans Otten], which [Michael] read the day after meeting [Peter Jennings], the author of MicroChess (which the CHESSmate uses internally) at an event at York University. Taking this as a sign, he set to work on this particular project.

We’re not sure if there’s really a cosmic force directing [Michael] towards his next project, but if there is, we’d like to take this opportunity to thank it for doing a fantastic job so far.

Using A Framework Mainboard For A Custom Gaming Handheld

The nearly final prototype case for the handheld Framework-based gaming system. (Credit: TommyB, YouTube)
The nearly final prototype case for the handheld Framework-based gaming system. (Credit: TommyB, YouTube)

Building your own handheld gaming console has been a popular project for many years, but recently it has become significantly easier to get a lot of power into a small package. Like many others, [TommyB] made his own Raspberry Pi SBC-based handheld in the past, which results in a rather bulky and underpowered package. A more performant solution would be to stuff laptop guts into a handheld case, but until Framework came onto the scene this wasn’t easy and would get you a sloppy one-off solution. With [TommyB]’s current handheld project he uses a standard Framework laptop mainboard, along with the official battery to get a very capable gaming system.

Getting the ergonomics and fit for the components just right took many tries, but eventually a prototype shell was designed that fits the Framework mainboard, the battery, twin Framework speakers, an 8″ LCD panel from Waveshare (connected via USB-C to HDMI) and mechanical switches for the buttons. These switches connect to an RP2040-based board that runs the GP2040-CE firmware, allowing the operating system to detect it as an XBox controller. Although still far from finished, it shows just how beneficial standard laptop parts are, with a massive gap in the market where Framework could make its own handheld shell available. We’re looking forward to [TommyB] demonstrating the finished version of his Framework handheld, and the inevitable upgrade from the 11th-gen Intel mainboard to one of the sparkling new mainboards with even better specs.

Thanks to [Keith Olson] for the tip.

Continue reading “Using A Framework Mainboard For A Custom Gaming Handheld”

Artist rendition of the Chandra telescope system in deep space. (Credit: NASA / James Vaughn)

The Chandra X-Ray Observatory Faces Shutdown In FY2025 Budget

The Chandra X-ray Observatory started its mission back in 1999 when Space Shuttle Columbia released it from its payload bay. Originally, it was supposed to serve only a five-year mission, but it has managed twenty-four years so far and counting, providing invaluable science along with the other Great Observatory: the Hubble Space Telescope. Unfortunately, NASA’s FY2025 budget now looks to threaten all space telescopes and Chandra in particular. This comes as part of the larger FY2025 US budget, which sees total funding for NASA increase by 2%, but not enough to prevent cuts in NASA’s space telescope operations.

NASA already anticipated this cut in 2023, with funding shifting to the Nancy Grace Roman Space Telescope (infrared spectrum, scheduled for 2027). Since Hubble is a joint operation with ESA, any shortfalls might be caught this way, but Chandra’s budget will go from 68.3M USD in FY2023 to 41.4M USD in FY2025 and from there plummeting to 5.2M USD by FY2029, effectively winding down the project and ending NASA’s flagship X-ray astronomy mission. This doesn’t sit well with everyone, with a website called Save Chandra now launched to petition the US government to save the observatory, noting that it still has a decade of fuel for its thrusters remaining and it also has stable mission costs.

Continue reading “The Chandra X-Ray Observatory Faces Shutdown In FY2025 Budget”