wil VS XQuartz

Compare wil vs XQuartz and see what are their differences.

wil

Windows Implementation Library (by microsoft)

XQuartz

An X11 server and client libraries for macOS (by XQuartz)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
wil XQuartz
14 35
2,457 752
0.7% 1.6%
7.9 6.7
12 days ago 11 months ago
C++ Shell
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

wil

Posts with mentions or reviews of wil. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • C-Macs – a pure C macOS application
    11 projects | news.ycombinator.com | 19 Apr 2024
    Even then, MFC and C++/CX were the only productive ways to use it from Microsoft SDKs.

    .NET isn't as convenient as VB 6 was, fully embracing COM as the VBX replacement model, technically introduced in VB5, but still some stuff was lacking.

    Then there is Delphi and C++ Builder.

    It beat me that having doubled down on COM since how Longhorn went down, and Windows team getting their way doing avoiding .NET to take over, they hardly managed to create nice tooling as the competition.

    Editing IDL files with a Notepad like experience, manually merging generated code, and a couple of frameworks that barely go beyond yet another way to do AddRef/Release/QueryInterface and aggregation.

    Meanwhile D-BUS, XPC and AIDL, provide much better dev experience.

    Pity that Borland products are kind of tainted due to mismanagement decisions, otherwise maybe fixing COM dev experience would already been seriously taken by VS team.

    Ah, nowadays WIL is probably the best approach when having only to consume COM.

    https://github.com/microsoft/wil

  • ntoskrnl7/crtsys: C/C++ Runtime library for system file (Windows Kernel Driver)
    4 projects | /r/cpp | 30 Jun 2022
    Have a look at WIL for a C++ library used by Microsoft themselves, including kernel development.
  • I'm thinking about using a struct to hold allocated memory and guaranteeing it will be released when the struct goes out of scope, as an alternative to smart pointers. What do you think?
    1 project | /r/cpp_questions | 6 May 2022
    I'm digging for more information and it looks like Microsoft's created a way to handle the problems I'm trying to address with this: https://github.com/Microsoft/wil/wiki/RAII-resource-wrappers
  • Unwrapping WinUI3 for C++
    1 project | /r/cpp | 28 Apr 2022
    Since we are on this subject, those that need a nice C++ library to deal with COM in VC++, are better served with WIL.
  • RISC-V J extension – Instructions for JITs
    3 projects | news.ycombinator.com | 11 Mar 2022
    Not since Vista.

    https://docs.microsoft.com/en-us/cpp/build/reference/kernel-...

    > Creates a binary that can be executed in the Windows kernel. The code in the current project gets compiled and linked by using a simplified set of C++ language features that are specific to code that runs in kernel mode.

    And then there is WIL, https://github.com/microsoft/wil

    https://community.osr.com/discussion/291326/the-new-wil-libr...

    > First off, let me point out that this library is used to implement large parts of the OS. There are hundreds of developers here who use it. So unlike, uh, some other things that get tossed onto github, this project is not likely to wither and die tomorrow.

    > There are, however, only a handful of kernel developers working on the library, so the kernel support has been coming along much slower. I'd like to expand the existing kernel features in depth ....

  • ToaruOS 2.0
    3 projects | news.ycombinator.com | 13 Dec 2021
    > Plus C++ standard library can't be used anyway and auto pointers aren't really that much of a concern at the kernel level

    https://github.com/microsoft/wil

    "Ah, but that isn't used on the Windows kernel" would be the expected reply, well

    https://community.osr.com/discussion/291326/the-new-wil-libr...

    "Microsoft's toolchain does not ship a copy of the STL that works in kernel mode. Partly this is because the kernel's CRT doesn't support C++ exceptions. (And partly this is because I/O is wildly different in kernel, so you'd have to rewrite the implementation of all the I/O libraries.)

    But for kernel developers, wil ships a subset of an STL implementation. To avoid conflicting with the real STL, it's available under the wistd namespace. The rule of thumb is that wistd::foo is a drop-in replacement for std::foo."

  • Linux Sucks 2021 – The End of Linux Is Nigh
    1 project | news.ycombinator.com | 16 Sep 2021
    Windows is a mix of legacy C code, which started to be migrated into C++ around the Vista time (hence /kernel in VC++) and .NET/COM (WinRT is basically COM with some extras).

    Modern kernel code makes use of WIL.

    https://github.com/microsoft/wil

  • Away from Exceptions: Errors as Values
    1 project | news.ycombinator.com | 30 Aug 2021
  • Windows Implementation Libraries (WIL)
    1 project | news.ycombinator.com | 29 Jul 2021
  • Finding Windows HANDLE leaks, in Chromium and others
    2 projects | news.ycombinator.com | 26 Jul 2021

XQuartz

Posts with mentions or reviews of XQuartz. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • C-Macs – a pure C macOS application
    11 projects | news.ycombinator.com | 19 Apr 2024
    brew install --cask xquartz

    Or install from the project homepage [1]. Then just launch the X11 app. Note that it does require the application to be built for Mac - it’s not an emulator, just an implementation of the X11 APIs.

    [1] https://www.xquartz.org/

  • Understanding Keyboard Events Better
    2 projects | news.ycombinator.com | 4 Dec 2023
    I’ve recently spent some time working with terminal emulators in raw mode on macOS. While I chose to handle key events using escape codes, and found it seriously difficult (even gave up) to process the shift modifier key. However, I came across xquartz [1], which seems to do similar things as mentioned in the article. Would detecting shift key state have been trivial using such a library?

    [1] https://github.com/XQuartz/XQuartz

  • Audacity 3.4 – New Musical Features
    10 projects | news.ycombinator.com | 2 Nov 2023
    The contents are rendered through gtk/cairo which not only goes through https://www.xquartz.org/ but also doesn't use GPU rendering (it was experimental 3 years ago, maybe better now). The main issue seems to be that neither Inkscape nor gtk people have much low level Darwin experts or time available to invest in debugging the whole rendering stack. See for example https://gitlab.com/inkscape/inkscape/-/issues/1614 and all the other referenced issues for all the gory details.
  • ksh88 string substitution in alias | mpv streaming
    1 project | /r/openbsd | 2 Nov 2023
    I live in a mezzanine studio using a M1 macbook for a workstation (writing/editing) and my old laptop with openbsd as a local server. I play music from that obsd server upstairs, which thus fills the whole room down to my desktop through the plugged-in speakers. My hosted library plays fine with mpd and ncmpcpp, and I just figured out it's not so difficult to use mpv to play streamed youtube videos, since firefox in XQuartz streaming from xenocara is way too slow anyhow.
  • Back to Emacs - I have some questions
    1 project | /r/emacs | 9 Jul 2023
    There is an alternative: I ended up using Xquartz to give me an X11 environment and then running StumpWM as my tiling window manager. I used this for all my productive stuff, running full screen in MacOS, then a quick keypress got me back to the Mac environment.
  • Red Hat considers Xorg “deprecated” and will remove it in the next RHEL
    5 projects | news.ycombinator.com | 8 May 2023
  • Which mac should I get for study?
    1 project | /r/mac | 22 Mar 2023
    I also used Xquartz. Emacs was better for me though because capturing text output and documenting what I captured was so much easier than X-window.
  • Does Wine work on mac at all?
    1 project | /r/winehq | 15 Mar 2023
    Link
  • how to ssh from linux or windows to mac os with x11?
    1 project | /r/commandline | 15 Mar 2023
  • Do most people just run zsh, or is it common to switch to bash?
    1 project | /r/mac | 4 Mar 2023
    I used a Mac for router software testing for over 20 years. I ran a shell on my mac either through Emacs (on occasion) or X-quartz with terminal connections to a dozen or more routers, linux and or Windows systems. In all that time, I opened the terminal on my mac maybe 5 times.

What are some alternatives?

When comparing wil and XQuartz you can also consider the following projects:

cppwin32 - A modern C++ projection for the Win32 SDK

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

winapi - Windows API declarations without <windows.h>, for internal Boost use.

homebrew-zathura - Homebrew formulae to build Zathura on Mac OS X

toaruos - A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.

cage - A Wayland kiosk

stlkrn - C++ STL in the Windows Kernel with C++ Exception Support

i3ass - A collection of shell scripts to ease the use of i3wm

win32metadata - Tooling to generate metadata for Win32 APIs in the Windows SDK.

Docker-OSX - Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.

crtsys - C/C++ Runtime library for system file (Windows Kernel Driver) - Supports Microsoft STL

pass-import - A pass extension for importing data from most existing password managers