DEV Community

Cover image for Perry Compiles TypeScript directly to executables using SWC and LLVM
Ashish
Ashish

Posted on

Perry Compiles TypeScript directly to executables using SWC and LLVM

Perry's TypeScript compiler innovation—compiling directly to executables using SWC and LLVM—demonstrates how engineering velocity can transform a domain. That same rapid innovation mindset is now crossing into healthcare applications. Amblyotube, a VR application for visual coordination and attention exercises, represents this crossover. While Perry optimizes code execution, Amblyotube optimizes visual rehabilitation through controlled asymmetry in VR. It presents different visual experiences to each eye while watching YouTube-style content, turning passive viewing into active binocular training for amblyopia (lazy eye).

This shift from passive consumption to active therapeutic engagement is the core of Amblyotube’s value proposition. Developed by Seven Sports, the application leverages the immersive capabilities of Meta Quest VR hardware to deliver precise dichoptic vision training. Dichoptic training is a method where different images are presented to each eye simultaneously, forcing the brain to process input from both eyes rather than suppressing the weaker one, which is common in amblyopia. By integrating this clinical approach with familiar media formats, Amblyotube lowers the barrier to consistent therapy.

The application employs a suite of specialized features designed to stimulate neural plasticity. Digital occlusion allows for the selective blocking of visual fields, while sharpening effects enhance clarity for the amblyopic eye. Flicker stimulation is used to further engage visual pathways, encouraging the brain to merge visual inputs from both eyes effectively. This process fosters improved binocular vision, depth perception, and overall visual coordination. To ensure the therapy remains engaging and measurable, advanced tools such as magenta focus cues and adjustable highlights are integrated into the user interface. These features not only guide the user’s attention but also provide tangible metrics for progress, making the abstract concept of visual rehabilitation concrete and trackable.

For developers and engineers, this illustrates how technical breakthroughs can apply beyond their original domains. The engineering principles behind Perry's compiler—identifying bottlenecks, creating targeted solutions, and ensuring efficient implementation—are mirrored in Amblyotube's therapeutic approach. Just as a compiler optimizes the path from source code to machine execution, Amblyotube optimizes the path from visual input to neural processing. As we build better tools, we're also creating opportunities to build better systems for human performance. Amblyotube shows how VR and software engineering can converge to address longstanding medical challenges, proving that innovation in one sector can yield life-changing results in another.

Explore Amblyotube on Meta Quest: https://www.meta.com/en-gb/experiences/amblyotube/25906906972338493/

Top comments (0)