Re: Truly algebraic Variant and Nullable

2020-12-21 Thread Oleg B via Digitalmars-d-announce
On Sunday, 20 December 2020 at 11:00:05 UTC, Tobias Pankrath wrote: On Sunday, 15 November 2020 at 04:54:19 UTC, 9il wrote: Truly algebraic Variant and Nullable with an order-independent list of types. Thanks for sharing it! Could you give a (very short) explanation on why sumtype could not

Re: Truly algebraic Variant and Nullable

2020-12-16 Thread Oleg B via Digitalmars-d-announce
On Wednesday, 16 December 2020 at 15:58:21 UTC, 9il wrote: On Wednesday, 16 December 2020 at 14:54:26 UTC, Oleg B wrote: On Sunday, 15 November 2020 at 04:54:19 UTC, 9il wrote: Truly algebraic Variant and Nullable with an order-independent list of types. Nullable is defined as ``` alias

Re: Truly algebraic Variant and Nullable

2020-12-16 Thread Oleg B via Digitalmars-d-announce
On Sunday, 15 November 2020 at 04:54:19 UTC, 9il wrote: Truly algebraic Variant and Nullable with an order-independent list of types. Nullable is defined as ``` alias Nullable(T...) = Variant!(typeof(null), T); ``` Variant and Nullable with zero types are allowed. `void` type is supported.

aslike: duck-typing with check interface

2020-07-11 Thread Oleg B via Digitalmars-d-announce
Hello! I wrote library, that can be helpful in some cases: 1. easy and readable check interface of structures without 'templatisation' of function or method 2. cache virtual methods table lookup for OOP implementations using: 1. define interface 2. use `Like` wrap as argument 3. wrap objects

Re: gtkui: aux lib for using gtkd with glade

2020-02-14 Thread Oleg B via Digitalmars-d-announce
On Wednesday, 12 February 2020 at 14:12:29 UTC, Ferhat Kurtulmuş wrote: On Tuesday, 11 February 2020 at 18:40:33 UTC, Oleg B wrote: If you want use Glade [1] as UI builder with gtkd [2] you can be interested by this library [Dub] http://code.dlang.org/packages/gtkui [Git]

gtkui: aux lib for using gtkd with glade

2020-02-11 Thread Oleg B via Digitalmars-d-announce
If you want use Glade [1] as UI builder with gtkd [2] you can be interested by this library [Dub] http://code.dlang.org/packages/gtkui [Git] https://github.com/deviator/gtkui [1] https://glade.gnome.org/ [2] https://gtkd.org/

Re: ssll - simple shared library loader

2020-01-10 Thread Oleg B via Digitalmars-d-announce
On Monday, 6 January 2020 at 10:04:38 UTC, Sönke Ludwig wrote: I've written something similar with the goal to make it work transparently with existing static bindings: https://code.dlang.org/packages/dynamic It uses a mixin to specify the module(s) containing the declarations instead of a

Re: ssll - simple shared library loader

2020-01-10 Thread Oleg B via Digitalmars-d-announce
On Monday, 6 January 2020 at 04:32:25 UTC, Mike Parker wrote: On Sunday, 5 January 2020 at 23:23:48 UTC, Oleg B wrote: Nice work! One thing I would recommend, though, is that you not bake in extern(C). Some libraries require extern(System) (because they're stdcall on Windows and cdecl

ssll - simple shared library loader

2020-01-05 Thread Oleg B via Digitalmars-d-announce
It's analog of bindbc, but without need write boilerplate code. May be bindbc is designed for another cases, but I don't understand need writing triple definition for one function (pointer, loading, wrap-function). ssll betterC compatible too, and tested on windows (x86) and linux (x86, ARM).

Re: Cross-compiling dub projects with LDC

2019-08-27 Thread Oleg B via Digitalmars-d-announce
Is this supports only in dub-1.17.0-beta.2 and it's not include to ldc2-1.17.0? It feature only in dub-master by now But it's cool works) Thanks!

Re: Cross-compiling dub projects with LDC

2019-08-27 Thread Oleg B via Digitalmars-d-announce
On Sunday, 25 August 2019 at 21:16:22 UTC, kinke wrote: The resulting cctest.exe (incl. 2 DLLs) can be copied to a Win64 box and then runs fine, as long as a Visual C++ runtime ≥ 2015 is installed. Tested on a Linux host, but should work on any host. Is this supports only in

Re: serialport v1.0.0

2018-05-13 Thread Oleg B via Digitalmars-d-announce
On Wednesday, 9 May 2018 at 14:41:45 UTC, Andrea Fontana wrote: On Sunday, 6 May 2018 at 22:02:05 UTC, Oleg B wrote: Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d *

serialport v1.0.0

2018-05-06 Thread Oleg B via Digitalmars-d-announce
Stable version of serialport package * Blocking `SerialPortBlk` for classic usage * Non-blocking `SerialPortNonBlk` and `SerialPortFR` for usage in fibers or in vibe-d * Variative initialization and configuration * Hardware flow control config flag Doc:

Re: LDC 1.3.0-beta2

2017-06-13 Thread Oleg B via Digitalmars-d-announce
On Monday, 12 June 2017 at 17:49:46 UTC, kinke wrote: Hi everyone, LDC 1.3.0-beta2, the LLVM-based D compiler, is available for download! This release is based on the 2.073.2 frontend and standard library and supports LLVM 3.5-4.0. It's been a while since beta1, so besides numerous fixes

Re: DLang users telegram group

2016-06-21 Thread Oleg B via Digitalmars-d-announce
On Tuesday, 8 December 2015 at 17:51:01 UTC, Kingsley wrote: On Monday, 30 November 2015 at 10:58:34 UTC, Quentin Ladeveze wrote: Hi everybody, I just created a Telegram group for dlang users : https://telegram.me/joinchat/BeLaugMz35ZxQUq2fks4YQ Feel free to join ! says the link has