Exporting C APIs from Zig, D, and Nim (seen on youtube)

2020-04-17 Thread Antonio Corbi via Digitalmars-d-announce

Hi all,

Don't know if this[1] has been posted before, I've just seen it 
and seemed interesting.

Hope you also like it.

Antonio

[1] https://www.youtube.com/watch?v=4o_tmccinds=youtu.be


Re: The Future of the GtkDcoding Blog

2019-11-22 Thread Antonio Corbi via Digitalmars-d-announce

On Friday, 22 November 2019 at 10:42:33 UTC, Ron Tarrant wrote:

On Thursday, 21 November 2019 at 18:56:25 UTC, SashaGreat wrote:



Second the timing, at least today "everything is WEB APP", and 
I'm not saying desktop is dead applications is dead, but most 
of my current work is converting to WEB.


I've also been keeping an eye on this trend, too, and even 
though development is currently centred around web apps, 
scuttlebutt has it that the desktop is making a comeback. Even 
if it doesn't, it certainly won't disappear during my lifetime.


Hi Ron:

I suppose you know about Gtk's Broadway backend, it seems to do 
its job so a Gtk desktop-app can be a web-app in a very simple 
way:


https://developer.gnome.org/gtk3/stable/gtk-broadway.html

Antonio


Re: gtkDcoding Blog Post #0007 Now Live

2019-02-08 Thread Antonio Corbi via Digitalmars-d-announce

On Friday, 8 February 2019 at 10:28:36 UTC, Ron Tarrant wrote:
On Wednesday, 6 February 2019 at 19:09:57 UTC, Antonio Corbi 
wrote:


The gnome project maintains a 'How Do I do this...' page, it's 
almost gtk and C related but (thank's to the wonderful binding 
from Mike Wey) the 'mental mapping' from C->D + gtk->gtkd is 
very straightforward:


https://wiki.gnome.org/HowDoI/

Antonio.


I seem to remember reading somewhere that it's gone out of 
vogue to thank people in forums. I get it; it adds noise to 
threads, but I still think it's the polite thing to do.


So, thanks, Antonio.


You are welcome, Ron ;)



However, if this is now frowned upon on this forum, please let 
me know and I'll stop thanking people.


Thank you for listening I mean: oh crap. I did it again. 
(sigh)





Re: GtkD Blog Now Up and Running

2019-01-30 Thread Antonio Corbi via Digitalmars-d-announce

On Wednesday, 30 January 2019 at 09:48:14 UTC, Ron Tarrant wrote:
On Saturday, 26 January 2019 at 16:53:18 UTC, Antonio Corbi 
wrote:

[1] https://sites.google.com/site/gtkdtutorial/
[2] http://britseyeview.com/software/articles/gsgtkd.html
[3] https://gitlab.com/csoriano/GtkDApp


Took a look this morning. I'd come across the Brit's Eye View 
articles, but not the others. As I'm about to write something 
on menus, these will definitely come in handy.


Thanks, Antonio.


You are welcome, :)

Antonio


Re: GtkD Blog Now Up and Running

2019-01-26 Thread Antonio Corbi via Digitalmars-d-announce

On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote:

Hi y'all,

As of January 11, 2019, http://gtkdcoding.com is up. It's a 
blog, it's a github page, it's simple examples of how to use 
GtkD for all that GUI stuff.


My approach is to lay out a firm foundation for both imperative 
and object-oriented paradigms, then build from there, taking 
things one step at a time.


This being Friday, the 4th post went up this morning. Please do 
let me know if you find it useful.


And why did I wait until now to announce? Well, on day one, it 
seemed a bit silly to announce with only one post. After the 
second and third, well... I still didn't feel there was enough 
to warrant excitement. But four posts? Now that's something to 
speak up about, ain't it?


Yup. That's what I thought, too.


Hi Ron,

Glad to see this gtkd-programming blog up.

When I started using Gtkd I gathered several tutorials[1][2] 
(they are old) and more recently found this project[3] from 
Carlos Soriano which covers meson + flatpak.

Hope they are good for you.

Antonio

[1] https://sites.google.com/site/gtkdtutorial/
[2] http://britseyeview.com/software/articles/gsgtkd.html
[3] https://gitlab.com/csoriano/GtkDApp



Re: Encouraging preliminary results implementing memcpy in D

2018-06-13 Thread Antonio Corbi via Digitalmars-d-announce

On Wednesday, 13 June 2018 at 06:46:43 UTC, Mike Franklin wrote:
I had a little fun today kicking the crap out of C's memcpy 
with a D implementation.


https://github.com/JinShil/memcpyD

Request for help: I don't have a Linux system running on real 
hardware at this time, nor do I have a wide range of platforms 
and machines to test with.  If you'd like to help me with this 
potentially foolish endeavor, please run the program on your 
hardware and send me the results.


Hi Mike,
These are my results running your program under archlinux x86_64 
with the zen-kernel 4.17.1, the hardware is powered by an ancient 
"Intel(R) Core(TM)2 CPU 6600  @ 2.40GHz" with 4GB of ram:


size memcpyC memcpyD
1 67607 56810
2 68105 57638
4 66760 58949
8 66943 61262
16 71937 43821
32 70955 48392
64 111473 54226
128 144784 77165
256 183504 113597
512 289039 180930
1024 450526 1314835
2048 782029 1890236
4096 1627622 3165319
8192 2751701 5614202
16384 6361074 11484517
32768 30931212 42805529
65536 61878379 86000892

size memcpyC memcpyD
1 66796 44745
1 66773 44343
1 66780 44157
2 66769 44370
2 66792 44529
4 66776 44298
4 66775 44412
8 66766 44409
8 70945 44359
4 66804 44367
8 71007 44432
16 75210 50656



Re: Documentation for any* dub package, any version

2018-02-26 Thread Antonio Corbi via Digitalmars-d-announce

On Monday, 26 February 2018 at 14:59:07 UTC, Adam D. Ruppe wrote:
Many of you will already know this from the other thread or 
from my twitter, but I just added a on-demand downloader to my 
dpldocs.info domain to fetch and build docs for any* dub 
package.


Hi Adam!

Thanks for this superb work!

Trying it onto gtk-d got an error saying to send you the failing 
link, so here you are :


http://gtk-d.dpldocs.info/cairo.html

A. Corbi


Re: Beta 2.078.2

2018-02-02 Thread Antonio Corbi via Digitalmars-d-announce

On Friday, 2 February 2018 at 09:29:15 UTC, Seb wrote:

On Friday, 2 February 2018 at 08:34:32 UTC, Antonio Corbi wrote:

On Thursday, 1 February 2018 at 18:21:22 UTC, Seb wrote:

[...]


Wouldn't it be good to include a fix for errors like produced 
by int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in 
a point release like this?


A. Corbi


No, while I understand that you would like this to be fixed, 
this change might be disruptive - you never know on what weird 
behavior people rely. Anything potentially breaking existing 
code can't be part of a patch release.


Also AFAICT no one has submitted a PR to fix the issue you 
referenced, so it's a hypothetical question (for now).


Thanks Seb, that makes sense.

A. Corbi


Re: Beta 2.078.2

2018-02-02 Thread Antonio Corbi via Digitalmars-d-announce

On Thursday, 1 February 2018 at 18:21:22 UTC, Seb wrote:
On Thursday, 1 February 2018 at 17:32:09 UTC, Andrew Benton 
wrote:
On Thursday, 1 February 2018 at 16:01:18 UTC, Martin Nowak 
wrote:

First beta for the 2.078.2 patch release.

Contains a major regression fix for hashtable array 
comparison and comes with  more reliable retries and fallback 
mirror usage for dub (https://github.com/dlang/dub/pull/1339).


http://dlang.org/download.html#dmd_beta 
http://dlang.org/changelog/2.078.2.html


Please report any bugs at https://issues.dlang.org

- -Martin


Changelog page returns a 404


It got lost in the merge queue - 
https://github.com/dlang/dlang.org/pull/2158


I just merged it. It should be up in a few minutes.


Wouldn't it be good to include a fix for errors like produced by 
int.min assigned to a variable 
(https://forum.dlang.org/post/p4l7kt$80d$1...@digitalmars.com) in a 
point release like this?


A. Corbi


Re: GtkD 3.7.0 released, GTK+ with D.

2017-10-16 Thread Antonio Corbi via Digitalmars-d-announce

On Sunday, 15 October 2017 at 20:18:37 UTC, Mike Wey wrote:
GtkD is a D binding and OO wrapper of Gtk+ and is released on 
the LGPL license.


Apart form the biannual update to the latest glib/gtk version, 
this release adds bindings for Gstreamer Mpegts and Gstreamer 
AppSink.


Full changelog: http://gtkd.org/changelog.html
Download: http://gtkd.org/Downloads/sources/GtkD-3.7.0.zip


Thank's for your work in this project and your always kind help 
in its forum.


Antonio.



Re: Release D 2.076.0

2017-09-07 Thread Antonio Corbi via Digitalmars-d-announce

On Thursday, 7 September 2017 at 00:53:29 UTC, Ali Çehreli wrote:
This is the first time I'm trying to install with the install 
script as shown on the download page but it fails.


$ curl -fsS https://dlang.org/install.sh | bash -s dmd
Downloading and unpacking 
http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz

 100.0%
Invalid signature 
http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz.sig


Am I using it correctly?


I think so, it works for me.

A. Corbi



D is #3 in Github's "The top weekend languages 2016"

2017-02-12 Thread Antonio Corbi via Digitalmars-d-announce

Glad to share this article with you all:

https://medium.com/@hoffa/the-top-weekend-languages-according-to-githubs-code-6022ea2e33e8#.vvtcmyh88

A. Corbi


Re: Terminix Year In Review

2017-01-03 Thread Antonio Corbi via Digitalmars-d-announce

On Monday, 2 January 2017 at 18:23:53 UTC, Gerald wrote:

Since Terminix is a GTK 3 application, the minimum baseline is 
that your emulator would have to be a GTK 3 Widget, I have no 
idea what would be involved in creating a GTK widget in D as 
I've never tried it myself.


Hi Gerald,

There's this tutorial from Davyd Madeley about writing a 
clock-widget (this is Gtk2) in C:


1- 
https://thegnomejournal.wordpress.com/2005/12/02/writing-a-widget-using-cairo-and-gtk2-8/
2- 
https://thegnomejournal.wordpress.com/2006/02/16/writing-a-widget-using-cairo-and-gtk2-8-part-2/


Antonio


Re: Nov 16 - Memory Safety and the D Programming Language

2016-11-21 Thread Antonio Corbi via Digitalmars-d-announce

On Monday, 21 November 2016 at 15:20:49 UTC, ixid wrote:
On Sunday, 20 November 2016 at 22:34:26 UTC, Walter Bright 
wrote:

On 11/14/2016 1:39 AM, qznc wrote:

[...]



Unfortunately, the audio was lost 18 minutes in. Looks to be 
not worth posting. I do have the slides up, though.


http://www.walterbright.com


Would it be worth the D Foundation investing in a good portable 
setup for recording people's talks? Certainly for the main D 
conference but also for the core team members and other VIPs. 
There is considerable value in high quality recordings being 
available. The quality of some previously has been very poor 
due to the limitations of the equipment available.


Also some shared guidance about how to record a talk 
effectively.


Maybe some ideas could be taken from here: 
https://wiki.debconf.org/wiki/Videoteam


Antonio


Re: Adventures in D Programming

2016-05-08 Thread Antonio Corbi via Digitalmars-d-announce

On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote:
I was paged about a blog post from an old friend who floats 
around the circles in the Debian camp.


The author, Matthias, should be no stranger around these 
forums, though I was surprised to discover that I know him on 
OFTC too (I wonder if he knows this also).


For those who have been watching the talks at dconf, I think 
there should be nothing unexpected here.  But each time we hear 
from the same issues or conclusions being raised, it gives them 
more weight in the priority queue for what we need solving.


So Matthias, I'd like to give a thanks for your excellent post.
 And I hope you don't mind me posting it here.

http://blog.tenstral.net/2016/05/adventures-in-d-programming.html

For everyone else, hope you enjoy the read.

--
Iain


Not only in his blog, even lwn.net mentions it!

Antonio


Using D in Debian to build AppStream metadata.

2016-04-17 Thread Antonio Corbi via Digitalmars-d-announce

Hello,

Just read this post from Matthias Klumpp 
(http://blog.tenstral.net/2016/04/introducing-appstream-generator.html) in planet.debian.net where he talks about replacing the current appstream metadata generator written in python (dep11-generator).


He talks about considering Go, Rust and D for this task, and why 
He finally chose D. It's very short and very enlightening, worth 
a reading!


Hope you like it!
Sorry if this has been posted before.

Antonio


Re: GtkD 3.3.0 released, GTK+ with D.

2016-03-24 Thread Antonio Corbi via Digitalmars-d-announce

On Wednesday, 23 March 2016 at 18:16:02 UTC, Mike Wey wrote:
GtkD is a D binding and OO wrapper of Gtk+ and is released on 
the LGPL

license.

A new version of GTK was released today, and with that comes a 
new GtkD release so you can use the new features in D.


GtkD 3.3.0 is now available on gtkd.org:
http://gtkd.org/download.html


Incredible work Mike!
This work and your patience answering questions in the gtkd list 
is encouraging.

Thank's for gtkd and help :)!

Antonio