Re: GtkD Coding Post #0115 - GKT/GIO Application - Open Files from the Command Line
On Friday, 24 September 2021 at 13:23:22 UTC, Ron Tarrant wrote: Another new GtkD Coding blog post, this time it's about how to deal with the HANDLES_OPEN flag. You can find it here: https://gtkdcoding.com/2021/09/24/0115-gtk-gio-app-open-flag.html
Re: From the D Blog -- Interfacing D with C: Strings Part One
On Tuesday, 25 May 2021 at 23:57:24 UTC, zjh wrote: On Tuesday, 25 May 2021 at 21:14:24 UTC, Vinod K Chandran wrote: On Tuesday, 25 May 2021 at 00:41:50 UTC, zjh wrote: switch to ie. other websites is no problem. I don't know why. I too faced this problem in my laptop's chrome. The `js` of this website must have problems. I faced the problem too long. other websites no problem. the website is ok, it's because, you and me in China mainland, and we just behind that wall, you just need a VPN proxy! as in Chinese: 网站没问题,你需要梯子!
Re: New language based on D
On Tuesday, 17 November 2020 at 13:12:04 UTC, jmh530 wrote: On Tuesday, 17 November 2020 at 05:50:27 UTC, dangbinghoo wrote: On Friday, 13 November 2020 at 12:25:48 UTC, Dibyendu Majumdar wrote: On Thursday, 12 November 2020 at 15:28:44 UTC, Faux Amis wrote: [...] I think it is too early for that as my project is not yet started, and it may not have any traction. I believe that if I can create solid documentation then it might make a difference but we will see. Fortunately or not - I have limited time - so I won't be making changes to D other than very simple patches to switch off some things. I simply cannot afford to spend time on maintaining a different code base. My main focus will be to create documentation. I can probably do one thing - guarantee that the new language is a proper subset of D and that any code in laser-D is guaranteed to build with dmd, ldc, gdc. people want betterC, and if we can add Interface to current D's (betterC) struct (which works like Rust's trait), it would be more attractive! ^_^ binghoo dang You might find Atila Neves's tardy [1] or Jean-Louis Leroy's open methods [2] libraries interesting. I don't know if they work with betterC though. [1] https://github.com/atilaneves/tardy [2] https://github.com/jll63/openmethods.d it seems that tardy is more close to this topic. and open-methods is dispatching system for 'Normal D'. and both of them uses keyword `interface`, and "Interfaces describe a list of functions that a class that inherits from the interface must implement". shows these may not work with betterC. thanks! binghoo dang
Re: New language based on D
On Friday, 13 November 2020 at 12:25:48 UTC, Dibyendu Majumdar wrote: On Thursday, 12 November 2020 at 15:28:44 UTC, Faux Amis wrote: [...] I think it is too early for that as my project is not yet started, and it may not have any traction. I believe that if I can create solid documentation then it might make a difference but we will see. Fortunately or not - I have limited time - so I won't be making changes to D other than very simple patches to switch off some things. I simply cannot afford to spend time on maintaining a different code base. My main focus will be to create documentation. I can probably do one thing - guarantee that the new language is a proper subset of D and that any code in laser-D is guaranteed to build with dmd, ldc, gdc. people want betterC, and if we can add Interface to current D's (betterC) struct (which works like Rust's trait), it would be more attractive! ^_^ binghoo dang
Re: "Programming in D" on Educative.io
On Thursday, 14 May 2020 at 08:42:43 UTC, ShadoLight wrote: On Wednesday, 13 May 2020 at 19:25:43 UTC, welkam wrote: [...] This opinion seems quite common in the D community, but I frankly don't see it. If you are referring to the D subset defined by the BetterC switch, well, maybe then I would agree. But not for D in general. [...] but D has GC enabled, then it's not re-engineering of C++.
wiki tutorial: D on esp32/esp8266(llvm-xtensa+ldc) and how to get started
hi, I just added a simple tutorial to running D betterC on the popular ESP32/esp8266 IoT chip. referenced with the Rust community's Rust on ESP32. https://wiki.dlang.org/D_on_esp32/esp8266(llvm-xtensa%2Bldc)_and_how_to_get_started As esp32 IDF is using newlib as it's libc, the druntime and phobos just simply won't build. But betterC seems working, I didn't do with a very strong test(actually I don't know if there's betterC test case exists), so, just for fun with your own risk! And, Can we do some work to support druntime building against with newlib? If this is true, many MCU would have(newlib supports many MCUs) a `real D` running on it. --- Binghoo Dang
Re: gtkDcoding Facelift Launch
On Tuesday, 9 July 2019 at 09:53:29 UTC, Ron Tarrant wrote: Last week, gtkDcoding saw its 50th regularly-scheduled post. And instead of linking directly to the article, here's a link to the main page so you can see the entire facelift: https://gtkdcoding.com. hi dear Ron, I found that the `next link` in Page 24 made a mistake: "0025-creating-and-using-a-linkbutton.html" should be || \/ "0025-creating-and-using-a-linkButton.html" thanks! binghoo dang
Re: gtkDcoding Facelift Launch
On Tuesday, 9 July 2019 at 09:53:29 UTC, Ron Tarrant wrote: There will likely be minor tweaks happening over the next few weeks, but this is the big roll-out. I hope you all like it. And instead of linking directly to the article, here's a link to the main page so you can see the entire facelift: https://gtkdcoding.com. Yeah, we like it, pretty awesome! It helps much to people who just getting started using GtkD like me. Thanks!
Re: GtkD Blog Now Up and Running
On Friday, 25 January 2019 at 21:19:45 UTC, Ron Tarrant wrote: PS: And let me know if you find any inaccuracies or if something isn't clear. Great Job! ^_^ and for dub type of project, just add `gtk-d` as a dependency, it works well both on windows and linux right out of box, the only thing is on windows we need to install runtime for gtkd.org first, and ldc or dmd only support MS buildtools to link aginst with gtkd runtime, the default mingw linker will not work. Thanks for the great work!
Re: std.variant Is Everything Cool About D
On Thursday, 29 March 2018 at 14:10:39 UTC, Mike Parker wrote: Jared Hanson (a.k.a Meta and MetaLang around these parts) was inspired by an article titled "std::visit is everything wrong with modern C++" to contrast it with D's std.variant.visit. The result is this well-written post for the D Blog. The blog: https://dlang.org/blog/2018/03/29/std-variant-is-everything-cool-about-d/ Reddit: https://www.reddit.com/r/programming/comments/881hmi/stdvariant_is_everything_cool_about_d/ I think we need a book about D's std Phobos, like `mastering STL` or something like C++ world do, but of course, I didn't mean selling to C++ world, I mean newbie may need knowledge about the Phobos and the design and using the power of the library for real practice, not to compare with the C++ world.
Re: Added Wiki page Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices
On Monday, 19 March 2018 at 01:25:23 UTC, dangbinghoo wrote: On Wednesday, 14 March 2018 at 11:09:47 UTC, Aravinda VK wrote: On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote: hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks! For Fedora I found below link to install `gcc-arm-linux-gnueabihf` https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabihf-toolchain/ just added fedora or centos, but installing using yum. also added dnf way for installing armhf toolchain as the tutorial is mainly based on armhf target.
Re: Added Wiki page Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices
On Wednesday, 14 March 2018 at 12:44:31 UTC, Uknown wrote: On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote: hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks! Just a little tip, but I would recommend avoiding giving install instructions that vary from platform to platform. The problem is that 2 years down the line, when someone discovers this tutorial, they may discover that the instructions are no longer applicable. That makes the entire tutorial seem outdated. Also, the instructions are hard to verify for contributors, since they probably already installed the programs, so they can't tell if the instructions are outdated or wrong. Instead, I would recommend giving relevant links to install instructions provided by the program/package creator. That way the instructions are always up to date All these instructions are not tied to a specified version, it should work for the future. Linux Distribution like fedora/debain/ArchLinux will not change such a package name for installing arm toolchain, as the toolchain package is not like libpng, you may have libpng11 libpng1.2 or what ever, it's just solid package names.
Re: Added Wiki page Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices
On Wednesday, 14 March 2018 at 11:09:47 UTC, Aravinda VK wrote: On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote: hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks! For Fedora I found below link to install `gcc-arm-linux-gnueabihf` https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabihf-toolchain/ just added fedora or centos, but installing using yum.
Added Wiki page Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices
hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!