Re: sumtype 0.3.0
On Sunday, 6 May 2018 at 19:18:02 UTC, Paul Backus wrote: SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. Features: - Pattern matching, including support for structural matching (*) - Self-referential types, using `This` - Works with `pure`, `@safe`, `@nogc`, and `immutable` (*) - Zero runtime overhead compared to hand-written C - No heap allocation - Does not rely on runtime type information (`TypeInfo`) (*) Starred features (*) are those that are missing from `Algebraic`. Code examples are available in the documentation (linked below). New in this release: - The list of types allowed in a sum type is now public - Implicit qualifier conversions are now allowed in pattern matching - Better code examples in the documentation This library is a work in progress. If you have a use case you'd like to see supported, or an API you'd like to see implemented, please get in touch! Documentation: https://pbackus.github.io/sumtype/sumtype.html DUB: https://code.dlang.org/packages/sumtype Github: https://github.com/pbackus/sumtype Nice. I've written something similar in LightAlgebraic at https://github.com/nordlow/phobos-next/blob/master/src/vary.d#L30 which is also significantly faster than `std.typecons.Algebraic`. Has the same features as SumType except for - Self-referential types, using `This` and - pattern matching Note that the `memoryPacked` flag being `true` hasn't been thoroughly tested. Your're free to copy an ideas or features in `LightAlgebraic` into `SumType`.
Re: sumtype 0.3.0
On 05/06/2018 03:18 PM, Paul Backus wrote: SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. Very nice! I may use this.
serialport v1.0.0
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: http://serialport.dpldocs.info/v1.0.0/serialport.html Dub: http://code.dlang.org/packages/serialport Git: https://github.com/deviator/serialport
Re: Diamond mentioned in stackshare.io article
On Sunday, 6 May 2018 at 19:33:09 UTC, Gheorghe Gabriel wrote: On Sunday, 6 May 2018 at 18:05:45 UTC, bauss wrote: [...] Thanks! I will search for contribuitors after the release of the 0.1-stable version. I am using a private git repository until then. P.S. Godot-D uses dlls for dynamic compilation. I will try figure it out how they did it. I would like to upload a demo screenshot with a part of my current work. Here it is: https://dsunshineproject.weebly.com/ Hope you like it!
Re: Diamond mentioned in stackshare.io article
On Sunday, 6 May 2018 at 18:05:45 UTC, bauss wrote: On Saturday, 5 May 2018 at 18:56:52 UTC, Gheorghe Gabriel wrote: [...] I could be wrong, but I think D has some issues with DLL's at the moment, so recompiling is the only way to dynamically have code. I'm working on a possible future solution in Diamond, but I'm not sure how to go about it yet. If that's what it's related to! On Saturday, 5 May 2018 at 20:34:05 UTC, Gheorghe Gabriel wrote: [...] Sounds like an interesting project and if you need help with it, I wouldn't mind dropping in with a few contributions! On Saturday, 5 May 2018 at 20:45:40 UTC, Gheorghe Gabriel wrote: [...] As long as we understand your post, then I don't think it's a big deal. I believe most people don't speak natively English around here anyway. Thanks! I will search for contribuitors after the release of the 0.1-stable version. I am using a private git repository until then. P.S. Godot-D uses dlls for dynamic compilation. I will try figure it out how they did it. I would like to upload a demo screenshot with a part of my current work.
sumtype 0.3.0
SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. Features: - Pattern matching, including support for structural matching (*) - Self-referential types, using `This` - Works with `pure`, `@safe`, `@nogc`, and `immutable` (*) - Zero runtime overhead compared to hand-written C - No heap allocation - Does not rely on runtime type information (`TypeInfo`) (*) Starred features (*) are those that are missing from `Algebraic`. Code examples are available in the documentation (linked below). New in this release: - The list of types allowed in a sum type is now public - Implicit qualifier conversions are now allowed in pattern matching - Better code examples in the documentation This library is a work in progress. If you have a use case you'd like to see supported, or an API you'd like to see implemented, please get in touch! Documentation: https://pbackus.github.io/sumtype/sumtype.html DUB: https://code.dlang.org/packages/sumtype Github: https://github.com/pbackus/sumtype
Re: Diamond mentioned in stackshare.io article
On Saturday, 5 May 2018 at 18:56:52 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 14:06:45 UTC, Bauss wrote: On Saturday, 5 May 2018 at 12:32:38 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 12:17:48 UTC, Bauss wrote: On Saturday, 5 May 2018 at 12:14:38 UTC, bachmeier wrote: On Saturday, 5 May 2018 at 10:00:16 UTC, Bauss wrote: [...] Absolutely. This, not [technical feature X], is what will lead to adoption of D. Agreed! D can have all these nice features, but what matters in enterprise development is what frameworks D had that can be used in productivity and not just for projects you code at home. That was the sole reason I did Diamond too. I focused on having it fit for enterprise development since the beginning. I love Diamond! It is my favorite framework written in D so far. I've been working on a big project in D for three weeks, after one year of D experience. Can't wait to finally expose it. Thank you so much! When you get started with it, don't hesitate to ask me about stuff! Thank you! I need a little help (maybe an example) on dll reflection. I can't figure it out how to do it. I need to instantiate new "Unknown" objects from dll, without closing the app and recompiling it. I could be wrong, but I think D has some issues with DLL's at the moment, so recompiling is the only way to dynamically have code. I'm working on a possible future solution in Diamond, but I'm not sure how to go about it yet. If that's what it's related to! On Saturday, 5 May 2018 at 20:34:05 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 18:56:52 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 14:06:45 UTC, Bauss wrote: On Saturday, 5 May 2018 at 12:32:38 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 12:17:48 UTC, Bauss wrote: On Saturday, 5 May 2018 at 12:14:38 UTC, bachmeier wrote: On Saturday, 5 May 2018 at 10:00:16 UTC, Bauss wrote: [...] Absolutely. This, not [technical feature X], is what will lead to adoption of D. Agreed! D can have all these nice features, but what matters in enterprise development is what frameworks D had that can be used in productivity and not just for projects you code at home. That was the sole reason I did Diamond too. I focused on having it fit for enterprise development since the beginning. I love Diamond! It is my favorite framework written in D so far. I've been working on a big project in D for three weeks, after one year of D experience. Can't wait to finally expose it. Thank you so much! When you get started with it, don't hesitate to ask me about stuff! Thank you! I need a little help (maybe an example) on dll reflection. I can't figure it out how to do it. I need to instantiate new "Unknown" objects from dll, without closing the app and recompiling it. I think it's a very big step for D to have a Studio Software. My idea is to create an editor for D app development. Wanted features: 1) Main templates: - GUI Application with a 2D/3D scene (this is where I need dll reflection) - Web Application using Diamond (with a powerful GUI Editor) 2) Targets: - Windows, Linux, MacOS - Android, iOS*, WinStore* - HTML5 using WebAssembly - Vulkan and OpenGLES - Maybe multithreaded safe Some current features: - Awsome Event Listener for GUI. I am sure you will love it. - A 3D scene with a camera movement (mouse + WASD keys) - Node based scene (unique id per node) - Class managers for Input, Core, Graphics, Audio - Very productive (It has a lot of static if, static foreach, mixin, UDA, __traits ..) - Just D cool stuff. - It uses OpenGL as it's main graphics library and SDL2 for window, keyboard.. - It is very fast because of its architecture, very optimized Some good statistics: Simple 3D scene with some objects, compiled with DMD on Win64 release mode (i7-6700k, 24gb ram + GTX960m = 600 fps 1080p) I have a lot ideas for it but the exam session will finish after two months, so, unfortunately, I won't be able to work on it until then. After this, I am going to take 4 hours per day to work on it. My dream is to have the chance to present it at DConf 2020. :) ... And by the way, I will implement it's website in Diamond MVC. Sounds like an interesting project and if you need help with it, I wouldn't mind dropping in with a few contributions! On Saturday, 5 May 2018 at 20:45:40 UTC, Gheorghe Gabriel wrote: On Saturday, 5 May 2018 at 20:34:05 UTC, Gheorghe Gabriel wrote: [...] Sorry for my english mistakes. I am very tired right now and english is not my main language. I cannot correct that 2 it's -> to -> its. As long as we understand your post, then I don't think it's a big deal. I believe most people don't speak natively English around here anyway.
Re: Funding for code-d/serve-d
On Saturday, 5 May 2018 at 11:21:29 UTC, Mike Parker wrote: This morning at the Hackathon I announced that the D Foundation is raising money for code-d/serve-d, the plugin for Visual Studio Code and its companion Microsoft Language Server Protocol implementation for D. We've set up a goal of $3000 at our Open Collective page: https://opencollective.com/dlang# At the top of the page, you'll see our current balance, the projected balance at the end of the year based on the current level of monthly donations, and the goal of $3000 on the far right. We're sitting at just over $1100 as I write this, which means we're almost halfway there already. We encourage those of you who use Webfreak's VS Code plugin to contribute whatever you can in order to fund its development, especially if you want to see it improve. An important point is that development on serve-d can ultimately benefit not just code-d, but other IDE and editor plugins where it may be used. If we reach $2700 within 30 days, the D Foundation will throw in the remaining $300 and we'll let Webfreak get to work. If this proves successful, we hope to use future goals to fund development across the D ecosystem. Some of our targets will be driven by the results of the recent State of D Survey and others will be driven by other concerns. If you are interested in helping to move the state of D development forward, please consider contributing! I'm a little unclear how OpenCollective works. Do you have to specifically donate to this goal, or does every donation made just go to that? Furthermore, I don't really want to create an OpenCollective account just to donate; I'd prefer to do it directly with my Paypal. Is that possible? Also, does anyone have an image of the supporter t-shirts? If possible I want to donate an amount to get one of those.
Re: stb bindings for D
On Sunday, 6 May 2018 at 09:22:00 UTC, Sisor wrote: On Sunday, 6 May 2018 at 08:57:11 UTC, Temtaime wrote: Oh, missed the link https://code.dlang.org/packages/stb Not everybody (including me) knows what stb is. So please add some brief description (with a link) to the documentation. Ok, a link was added, thanks ! https://github.com/nothings/stb Generally speaking stb is a set of libraries for various purposes. There's some very useful libraries for 3d games, for example rect pack, image loading
Re: Dconf live stream for Shachar's talk
On Saturday, 5 May 2018 at 07:59:48 UTC, Steven Schveighoffer wrote: I will note that we don't have the normal A/V crew from the other days, so this is being done via a laptop camera. So you will probably need to download the slides. -Steve It's hard to hear the words from this, but at least there is something now. Thank you Mike.
Re: stb bindings for D
On Sunday, 6 May 2018 at 08:57:11 UTC, Temtaime wrote: Oh, missed the link https://code.dlang.org/packages/stb Not everybody (including me) knows what stb is. So please add some brief description (with a link) to the documentation.
Re: stb bindings for D
Oh, missed the link https://code.dlang.org/packages/stb
stb bindings for D
Hello ! Recently i published stb bindings for D, it comes with precompiled stb library for windows, so just add this package as dependency for your project and work with it :) Currently there's only stb bindings, but soon i'll add stb_image, stb_image write and other useful libraries. Thanks. Kind regards.