Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-17 Thread DanielG via Digitalmars-d-announce
Well, I have some time on my hands so I guess I'll answer "Why not write this in D?" 1) The easiest way to access platform-native stuff is to use platform-native tools (Xcode/Objective-C, Visual Studio/C++/COM, etc). At a minimum I would have to translate header files, and rely on D having

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-17 Thread DanielG via Digitalmars-d-announce
On Wednesday, 17 April 2019 at 18:39:47 UTC, Jacob Carlborg wrote: May I ask why? Please be more specific so I don't answer the wrong question. (Why not in D? Why a C API? Other?) And re: hardware acceleration of Quartz2D ... at least up to 10.12, I see no evidence of that in my testing.

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-17 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-04-12 11:47, DanielG wrote: - OpenWL/DL aren't designed for games or insane frame rates. I *do* think a smooth, 60fps experience is worth shooting for, but because it's CPU-bound with Quartz2D on Mac, and Cairo on Linux, that will depend entirely on the user's resolution / CPU. (But

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-17 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-04-12 08:45, DanielG wrote: These aren't written in D, but they are *for* D (or any other non-C++ language in need of its own canonical, language-native GUI). They export a C API for maximum ease of use. May I ask why? -- /Jacob Carlborg

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread Dennis via Digitalmars-d-announce
On Friday, 12 April 2019 at 10:02:53 UTC, DanielG wrote: Oh, and I see now you were only asking about OpenWL, not the both of them. Derp. So yeah, just the complete lack of OpenGL support really :P Well I don't mind you telling more about OpenDL either. :) My first reaction to "I made a

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread DanielG via Digitalmars-d-announce
On Friday, 12 April 2019 at 08:03:01 UTC, Dennis wrote: I'm currently using glfw for that, how does OpenWL compare? Oh, and I see now you were only asking about OpenWL, not the both of them. Derp. So yeah, just the complete lack of OpenGL support really :P

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread DanielG via Digitalmars-d-announce
On Friday, 12 April 2019 at 08:03:01 UTC, Dennis wrote: I'm currently using glfw for that, how does OpenWL compare? Good question. I've not spent much time with OpenGL-y things, but from what little I know: - OpenWL doesn't use or provide OpenGL contexts. I'm sure it will be added

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread Mike Parker via Digitalmars-d-announce
On Friday, 12 April 2019 at 06:45:01 UTC, DanielG wrote: These aren't written in D, but they are *for* D (or any other non-C++ language in need of its own canonical, language-native GUI). They export a C API for maximum ease of use. OpenWL[1] - cross-platform top-level windowing library, with

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread Dennis via Digitalmars-d-announce
On Friday, 12 April 2019 at 06:45:01 UTC, DanielG wrote: OpenWL[1] - cross-platform top-level windowing library, with native menus, events, clipboard/DnD. I'm currently using glfw for that, how does OpenWL compare?

OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread DanielG via Digitalmars-d-announce
These aren't written in D, but they are *for* D (or any other non-C++ language in need of its own canonical, language-native GUI). They export a C API for maximum ease of use. OpenWL[1] - cross-platform top-level windowing library, with native menus, events, clipboard/DnD. OpenDL[2] -