The EDG C++ Compiler Frontend Has Been Open Sourced

Recently [John Spicer] of the EDG C++ compiler front-end project announced that the project will be made open source, from now on managed by the non-profit C++ Alliance. Related source code can be found on the GitHub account.

The Edison Design Group (EDG) is a US company which has made compiler front-ends since 1988, previously also for Java and Fortran. They are used in the Intel C++ compiler, Microsoft’s VC++, NVIDIA’s CUDA compiler, as well as many other commercial products. Last year the decision was made to shutdown the company in 2026 and transition to an open source model, with the details outlined on the EDGCPP site.

Although far from the only C++ front-end, EDGCPP will be very interesting still for supporting bleeding-edge features and having been used in such wide-ranging, demanding applications by a host of commercial customers. For most of us C++ developers our contact with it will have been via the MSVC and Intel Compiler Collection tooling, but of course it’s just one part of the entire toolset.

We’re looking forward to seeing what this means for the wider open source C++ ecosystem, especially as it pertains to GCC and LLVM’s Clang.

Using LineageOS For Phones And DIY Smart TVs Is Pretty Nifty

Although Android is essentially just another Linux distribution, most people only experience it in the form of the rather restrictive and proprietary versions found on smartphones, tablets and smart TVs. While this is probably fine for the average person, there’s also a lot to be said for the more pure Android experience in the form of LineageOS.

With this fully open and community-supported version of Android you’re free to muck about with your hardware to your heart’s content, without annoyances like unremovable bloatware apps and restrictions on e.g. enabling developer mode.

Even more fun is that there are ports of LineageOS to systems such as the Raspberry Pi SBC, including in the Android TV configuration. This means that not only can your ten year old Android phone get a make-over with a recent version of Android, you can also create your own Android TV-based smart TV without all the spying and other nasty things that commercial smart TVs love to do.

Continue reading “Using LineageOS For Phones And DIY Smart TVs Is Pretty Nifty” →

3D-Printed Filter Removes Most Microplastics From Water

With the rise of synthetic polymers in everywhere from clothing, packaging and beyond, we have also seen a corresponding rise in fragments of these polymers in the environment. These micro- and nanoplastics (MNPs) come in a wide variety of sizes, but have in common that they do not break down very easily, leaving filtration as an important way to keep them out of our potable water sources. A recent paper by [Ethan A. Crawford] et al. in  Separation and Purification Technology details a way to use a low-cost, 3D-printed filtration mesh to filter out up to 90% of MNPs using their prototype.

This prototype uses a multi-layer filtration system printed in PLA, creating a flow-through system in which polyethylene glycol (PEG) acts as a sacrificial additive to the PLA. Whereas creating the fine pores required for filtration of MNPs is impossible using FDM printing, the spheres of PEG that form inside the printed filter can be subsequently etched away using nothing but hot (80°C) water, leaving behind a porous surface capable of trapping fine particles.

These pores are characterized in the paper, with the PLA-PEG10 sample showing the best porous structure while maintaining structural integrity of the PLA material. With 20 layers of these filters a filtration efficiency of 90% was achieved, though as the authors note aspects like improving the system and potential reusability still have to be investigated.

We have previously looked at MNPs, including how little we know about how many of them really are inside our bodies right now, and how lab gloves may be contaminating test results.

How To Grow A Giant Crystal From Copper Sulfate

Copper sulfate crystals are probably among one of the prettiest crystals you can grow at home, with even just a simple setup with some copper scrap and vinegar already capable of producing lots of them. Yet what if you want to grow really big ones? In that case the [Crystalverse] has got your back, with a recent video that expands on an older blog post.

In lieu of the copper-and-vinegar approach you can also obtain copper sulfate directly, since it’s a common fungicide, rootkiller as well as drying agent. This means that your local brick-and-mortar retailer or favorite online store probably has a few kg of the stuff available for sale.

As with most large crystal growing procedures the key is to have a saturated solution, which for copper sulfate just takes near-boiling water, to create a mesmerizingly blue liquid if there are no contaminants in it. By adding slightly more copper sulfate there are also crystallization sites on the bottom of the jar to draw these away from your large crystal.

From there it’s the same as with growing other large crystals – even those from sugar – with a seed crystal suspended into the solution, along with a silent prayer to the crystal gods that said seed crystal continues to grow without any defects. One gotcha with copper sulfate crystals is that the intense blue color is largely due to the presence of water molecules. This means that once it dehydrates, it turns effectively white.

Also of note that is the slower the crystal grows, the better the result is likely to be. During the months that it takes for these large crystals to grow, you need to carefully manage the copper sulfate solution, remove competing crystals on the bottom of the container and keep the temperature as constant as possible.

Continue reading “How To Grow A Giant Crystal From Copper Sulfate” →

Porting Video Games To VHS

Although VHS-based games have existed for about as long as VHS players have sat in millions of living rooms, they always tended to be rather sparse gaming experiences. For example, the ActionMax gaming “console” that [Throaty Mumbo] shows off in his most recent video. You use a zapper to purportedly shoot down on-screen targets in “games” like Sonic Fury. After this disappointing experience, he figured he should probably make his own interpretation of a VHS-based video game.

This involves a DE1-SoC FPGA board along with an RP2350 MCU. There’s also an in-progress GitHub repository for those who wish to follow along. Rather than the simplistic Action Max system that plays exactly the same every time along with a basic light gun feature, this actually allows for interactive gameplay.

The video shows that the VHS tape contains both binary data for the game, as well as a number of video streams. This is decoded using the DE1’s composite input, with the RP2350 then acting on the decoded game data and handling input from the controller. With this, interesting effects can be accomplished, such as background video streams for the original Super Mario Bros.

Other demos include Night Trap and a variant of Doom that uses prerecorded video segments along with action events requiring you to press a specific button. Since there’s actual bytecode involved, quite a few more options are available for game development that could have been interesting to a 1980s audience.

It is hard to imagine how hard it was to get the VCR into homes, only for it to vanish again.

Continue reading “Porting Video Games To VHS” →

Play PlayStation 2 And XBox 1 Games On Your Jailbroken PS5

Whereas PlayStation 3 and earlier were rather specialized consoles, today’s consoles like the PlayStation 5 are essentially x86-based gaming PCs in a fancy case, with custom firmware to lock it all down. Once you’re past those gates, however, you can use it to run pretty much anything. Naturally, this also means porting PlayStation 2 and Xbox 1 emulators to the PS5, in the form of the PS5X2 and XPSemu projects respectively.

In addition, Videocardz reports that Wine is being ported to the PS5 as its Proton iteration popularized by Valve’s SteamOS. This ‘PP’ project — for PS5 Proton — has no public releases yet, but it could mean that playing Windows games on your PS5 could also become reality.

Continue reading “Play PlayStation 2 And XBox 1 Games On Your Jailbroken PS5” →

Using Vibration To Make Stuff Stick Contact-Free To Ceilings

Generally making stuff stick to something like a ceiling requires resorting to suction cups, glue or something much more permanent, but [Steve Mould] starts his video featuring a playing card that is clearly defying gravity with no such measures. All that it seems to take is the small vibration motor placed on said playing card, with its vibrations making the card stick like a kind of magic trick.

Although the easy explanation would be that it creates a kind of Bernoulli grip – a common pneumatic, contactless gripping device – [Steve] explains how it’s more complex than that. This vibration adhesion effect doesn’t rely on the same constant pressure drop that a Bernoulli grip experiences within the small gap between the surface and the object. Although a gap is present, it’s much smaller in this case.

Of note is that this effect only occurs when the object is made of a flexible enough material that can vibrate along with the vibration source, in the form of a motor or transducer. As demonstrated in the video, this creates standing waves that affect the surrounding air. When pushed against a rigid surface, these standing waves change into travelling waves, which result in the air that enters this small gap constantly being pushed out and thus lowering the air pressure.

The air pressure between the rigid and flexible surfaces thus becomes lower than that of the surrounding air, creating the resulting suction effect without touching the surface as something like a suction cup would.

One can imagine practical uses for this effect much like with Bernoulli grips. These are especially common in the semiconductor industry for handling delicate items like silicon wafers with zero risk of contamination. In the video it’s shown how you can use the effect to even hold the weight of a person, though they failed to get past a few dozen kilograms with the used setup involving a 400 Watt transducer, possibly due to their ‘ceiling’ not being rigid enough, leading to energy loss.

There are also papers such as this 2025 one by [Siquan Li] et al. who suggest a ‘Micro-Vibration Adhesion’  (VBA) system to help small robots climb up walls for use in repairs and inspection. In their experimental setup they found an adhesion-to-weight ratio exceeding 51 times, making it an interesting way to have small robots defy gravitational pull without a complicated mechanism.

Continue reading “Using Vibration To Make Stuff Stick Contact-Free To Ceilings” →