Rust hello world app for Windows 95, cross-compiled from Linux, no MSVC

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Chicago95

    A rendition of everyone's favorite 1995 Microsoft operating system for Linux.

  • Currently running Chicago95 on Linux! https://github.com/grassmunk/Chicago95

  • vc6-sys

    Rust bindings to the Visual C++ 6 SDK

  • I wonder whether it's actually legal to extract & independently redistribute these libraries. https://github.com/haileys/vc6-sys/tree/main/sdk/lib

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ui-mock

  • It's quite possible to develop Rust for Windows without using Windows.

    Try my open source "ui-mock".[1] This is a test of the cross-platform stack. Just get the repository with "git clone", and make sure you have Rust installed for target "x86_64-pc-windows-gnu". See the Cargo.toml file for build instructions.

    This is a game-type user interface. It's just some menus and a 3D cube. It doesn't do much, but it exercises all the lower levels. This allows debugging cross-platform problems in a simple environment. The main crates used are winit (cross-plaform window event handling), wgpu (cross-plaform GPU handling), rfd (cross-platform file dialogs), keychain (cross-platform password storage), egui (Rust-native menus and dialogs), and rend3 (safe interface to wgpu). For graphics, it uses Vulkan, so it will run on Windows back to the last release of Windows 7. Not Windows 95, though; it's 64-bit. It will also run under Wine, so you don't even need a Windows system to test.

    My metaverse client uses the same stack. It's compiled on Linux, and runs on both Linux and Windows. So I'm building a high-performance 3D graphics program for Windows without even owning a Windows system or using any Microsoft software.

    [1] https://github.com/John-Nagle/ui-mock

  • rustpad

    An editor written in Rust using the Win32 API. (by julian-goldsmith)

  • I wrote part of a Markdown editor in Rust, with the intention of bringing it to Windows 95. I have a lot of newer work I need to bring in, but the old version can be found here: https://github.com/julian-goldsmith/rustpad

    It should build fine as-is for plain i586-mingw, but W95 requires a custom toolchain with a modified core crate.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts