Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also worth noting that Saleem has also been working on a wrapper of Windows GDI for Swift. While it's not a port of SwiftUI, it looks pretty similar.

https://github.com/compnerd/swift-win32



Would be more interesting Swift on top of WinRT/xlang. https://github.com/Microsoft/xlang

That would also means you would be able to deal with WinUI XAML and all.


quite the juxtaposition to see windows events loop implemented in swift

    while GetMessageW(&msg, nil, 0, 0) {
      TranslateMessage(&msg)
      DispatchMessageW(&msg)
    }
but lib looks really good, i guess there goes my weekend


Thanks for sharing that, very exciting.

If by some stretch that means Swift can then make complete Windows programs, that could be good for consumers but particularly good for enterprise developers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: