While I have never attended dconf itself, conferences itself usually aren't
about the talks but about the people you meet and get to interact with.
Op di 2 okt. 2018 om 10:15 schreef Joakim via Digitalmars-d <
digitalmars-d@puremagic.com>:
> On Tuesday, 2 October 2018 at 08:08:38 UTC, Gary Willou
>I'd like to see proper DLL (shared library) support and DIP45 implemented.
I'm making a project that I hope in the future will be extendable with D
plugins.
Out of curiousity, what's wrong with the current dll support?
2017-12-29 11:36 GMT+01:00 angel via Digitalmars-d <
digitalmars-d@puremagic
> This very sexist and you are clearly either very young or a closet
misogynist
Great, so you answer a poorly thought out attempt to encourage women to
join this community by bashing on younger people?
I'm not a programmer myself and used D for a project in computational
electromagnetics. While I had to implement numerical integration and a bit
of linear algebra which was annoying (would be really useful in phobos), it
was a joy to work with and the resulting program was incredibly fast.
Most oth
It may be a good idea to prealocate the whole array so you don't resize the
dynamic arrays every execution of the loop.
2015-05-11 23:30 GMT+02:00 weaselcat via Digitalmars-d <
digitalmars-d@puremagic.com>:
> On Monday, 11 May 2015 at 21:15:33 UTC, Dzhon Smit wrote:
>
>> ...
>>
>
> time sbcl --dy
Honestly, if you look at other programming languages with some online
editor, it's about the same speed.
It would help though (don't know if it's already there) to include
timestamps, so people see that the actuall time-waster is not in
compilation/execution.
2014-06-09 23:21 GMT+02:00 Dejan Lek
At least something should happen with the huge amount of outdated projects.
Maybe add an archive (assuming we're going to keep dsource alive). It's
very frightening stumbling upon D to discover a huge list of abandoned
projects and an empty forum :)
2013/10/22 Benjamin Thaut
> Am 22.10.2013 2
and imagine someone forced to use xml who reads this answer from the
community :p
std.xml is a must, no doubt.
2013/8/29 Joakim
> On Thursday, 29 August 2013 at 07:47:35 UTC, Jonathan M Davis wrote:
>
>> There are several D XML libraries floating around, but no one has taken
>> the
>> time to
Or, if you really want client side javascript, try mixing emscripten
en ldc. If you want a great server-side library, take a look at adam
rupe's work.
I'm also curious if druntime can be made compatible with bionic
because now I have to experiment with using a chrooted linux on my
phone to test some D applications.
Noticed I've sent this to digitalmars.D instead of digitalmars.D.learn.
Sorry for that, going to resend this in D.learn.
Right now I'm a bit confused. I assume that the garbage collector and
some other parts from druntime need startup code. But what gets run
first is my main method in the d file I compile. Does this mean that
the first call to something in druntime calls that startup code? If
not, what does get ran f
I think spawnlinked will do the job for me, thank you.
Recieved not a lot of response, maybe I should explain everything a bit more.
I'm using multiple threads and one is parsing webpages. I'm prety sure
everything works correctly but when an error occurs, I'll enver know.
The thread will quit without an error message and I have no idea how
to retrieve
2012/7/5 "André" :
> Great tool!
>
> Just a small layout bug: On Firefox 3.6.4 (on Mac) the [your code
> here] tags is misplaced after clicking the "Run" button. It then
> overlaps the appearing output box.
>
> Cheers,
> André
>
same bug with chrome
2012/7/5 Jens Mueller :
> Walter Bright wrote:
>> It would be nice to have a D source code formatter. But it needs a
>> champion. Who's up for it?
>
> I'm using uncrustify (http://uncrustify.sourceforge.net/). It does most
> of the time what I want.
>
> Jens
I'm using uncrustify too although it ha
c is capable of doing it.
Maarten
e only
one feeling that way.
Maarten
yet if you want a great web framework for D you should check out adam
rupe's stuff.
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
works really good.
I have to agree. It took me pretty long to find an ide with autocomplete
for D. It's annoying that I'm tied up to this ide but autocomplete is such
a great learning tool for a new language/ productivity boost.Having this
included in more ide's would be a great step in the right direction.
The only
I would love to be able to use D on memory limited devices like arduino but
creating a whole new language would certainly add up to the confusion for
many new potential users (they can't deal with two standard library's, let
alone two language named nearly the same)
if one were to do such project I
2012/1/3 J Arrizza
> Are you sure? There is good evidence he strongly prefers gc's. Consider
>> almost all insects; consider dung beetles specifically. Consider super
>> novas, gravity and accretion disks. Consider Disney and the Circle of Life.
>> It's pretty clear he views automated recycling a
I think it would be an object oriented language, I'm a believer in the
string theory :)
I have actually thought of the whole universe as one big simulation, would
really explain how light waves without medium (like a math function).
If I were god I would def use object oriented because it makes fo
2011/12/28 Andrei Alexandrescu
> ...to dlang.org/downloads.html
>
> Andrei
>
I think you meant dlang.org/download.html :)
yes
how did other languages solve this issue? I can't imagine D beeing the only
language with static constructors, do they have that problem too?
How far did you got? if you have something you should post it on github.
I think android could be one of those places where D really shines.
You have the speed of native code without added complexity and memory
management where needed. It's imho superiour to java in any way.
no problem but tell me if it works :)
2011/12/15 Andrea Fontana
> **
> Maybe a dalvik bytecode (not compatible with "official" jvm bytecode)
> generator could help us developing apps for android?
>
>
I've been looking at beeing able to write android apps in D. there is an
ndk but it's c(++) only.
I've read a blog report here:
http:/
they've got c working on a jvm if I recall corectly so safeD should be
possible.
But then again, is it worth it?
2011/12/11 Paulo Pinto
> Am 10.12.2011 21:35, schrieb Andrei Alexandrescu:
>
>> On 12/10/11 2:22 PM, maarten van damme wrote:
>>
>>> Just for fun I
>>> wanted to create a program as little as possible, compiled without
>>> garbage collector/phobos
> >And I've also been a bit disappointed in the d way of doing things (it's
> >easy to write good code but hard is always possible).
>
>Could you rephrase that? I don't understand.
That sentence was referring to the following paragraph. It's a great slogan
but when I actually try to mess around w
it's indeed better then d-p-l.org.
dlang.org is a great new name and I would love to see it becoming the
official d homepage.
now only get it on the top of the google results when trying to search for
"d lang" "d language" "d programming" and so on :)
yes please.
I've read the book "the d programming language" and got all excited until I
actually tried using std.algorithm. (d made up for it pretty soon).
It are the huge problems that prevent people for trying a language but it
are those little things that scare them back away.
And I've also bee
Beautiful newsgroup reader, makes a forum obselute but I am against making
features only available on the web interface. Maybe smileys and code tags
but no further then that.
I could really use one. Not for real use but to test a bit with.
So if you really make one, host it at github or something like that.
2011/12/1 Dejan Lekic
>
> >
> > You *really* have zero idea what my point is don't you?
>
> I think Abrahm is a bot or someone who is constantly high. But the first
> seems a more plausable explanation.
>
yeah, I also noticed some strange problems with him. Posting over 10
messages in a row with
I don't know about the examples you mentioned but I agree. Last time I
tried shared still didn't work and having not working examples not only
leads to a lot of confusion but also on people disliking a perfectly fine
language
will the bindings project from dsource be added?
exactly what happened to me.
Saw digitalmars and dsource and thought I came a bit late and that D had
already died. Luckily I tried the newsgroups and saw they were still alive
but we do indeed need to fix this a bit.
The biggest problem here is dsource. It's slow, cluttered and dead.
and it would
I love the bindings project, it's working really well so far and I'm doing
some funny stuff with it. However I don't think it would make sense
including it in the standard library. If someone wants to use it, he simply
downloads it.
gdc compile d2 only if you compile it with the -d2 flag. will this included
version compile d1 or d2?
great news, will certainly help d a bit forward but will it be for d1 or d2?
or ldc, I thought that could also compile d2
2011/9/22 Trass3r
> Currently you have to use GDC.
>
about interfacing to d:
There was some kind of tool out there that is never mentioned on one of the
d websites called swig. If you can make it extremely easy and get the bugs
out of the way (maybe even write a decent tutorial on it which I really
need) linking to c++ would be a breeze.
as for prom
I have a strange problem, I hope here is the right place to post it.
I get no new mail or replies posted on the newsgroup on my email adress and
when I ask the web interface to send my password to my mail adress it
doesn't do it.
I can however see further discussions on the web interface. am I the
attention: don't feed the troll
assuming I would ever be offered such a big project I would likely having to
work in a team. As there aren't that many other d programmers I've met it
would likely be in jave or c# (maybe c++).
I would bring d up though but it will only be taken seriously if
availability of other librarys aren't an
well thats an awkward situation: an abondonned site with a lot of abondonned
projects...
maybe someone knows the site-owner and can ask him to give ownership to
someone else(preferably still active )?
I'm always ready to do some cleaning up.
well that's too bad
an improved dsource would be a great step forward. D is already little-known
(relative) having a site advertising a lot of dead projects and with a dead
forum isn't going to help a lot :)
As most of you guys know, a lot of projects on dsource have been
discontinued or even never started.
wouldn't it be best for everyone to add an archive section to the projects
page and move there all discontinued projects?
it may not sound such a big issue but it was one of the things that made me
wow, been looking for this since a long time, only found for gdc.
2011/8/26 bioinfornatics
> I have explain here: https://github.com/ldc-developers/ldc/issues/4 how to
> get shared lib for ldc2 compiler
>
Why not a warning but when compiling using the -release flag throw an error?
Sounds logical to me as unreachable code can be there because of
debugging,etc but any released executable should not contain unreachable
code.
2011/8/18 Don
> Timon Gehr wrote:
>
>> On 08/18/2011 02:38 PM, Bernard Hely
wow, would be great to have bindings to the pepper api from d.
one of the reasons I still use java is for its ability to compile to very
fast javascript (using gwt).
If d is able to do this I can finally leave java behind.
Beeing able to compile to a web app could also add a bit to d's popularity
:
ooops, didn't knew I had been posting in the wrong newsgroup, sorry guys :)
2011/7/23 Vladimir Panteleev
> On Sat, 23 Jul 2011 01:55:56 +0300, maarten van damme <
> maartenvd1...@gmail.com> wrote:
>
> In my new project I read some memory from another running program.
&
In my new project I read some memory from another running program.
The problem is that I get the value I want in hexadecimal and in d I could
only find how to convert decimal to hexadecimal while the reverse seems to
be missing. Is there a method for this?
Great, I'm going to try it on linux mint.
Too bad the makefile is for linux and I have to stick with dsss which is
practically abondoned.
I still don't get why
dmd -lib -O -release
-inline -I.. -I../../srcgl -I../../srcsv -I../../srcgda gtkD.d
completely fails, it spits out a 34 kb executable
If someoene feels like playing some good old pong, go here:
http://dl.dropbox.com/u/15024434/Ball.exe
Beeing so slow seemed to be a temporary problem, it works good right now.
I'm really hoping on a good timer for phobos, having to use a tird party
library for something like a timer seems kind off
u can trigger a gtk event on a timer.
2011/7/20 Sean Kelly
> Is there a timer function built into gtk? Or can you have a separate
> thread trigger a gtk event on a timer?
>
> On Jul 20, 2011, at 5:00 AM, maarten van damme wrote:
>
> > The problem with Sean Kelly's and
o use shared?
(correct me if I'm wrong)
The glib.Timeout works like a charm, Thank you chris
2011/7/20 Sean Kelly
> On Jul 19, 2011, at 3:19 AM, maarten van damme wrote:
>
> > Hi everyone,
> > for getting to know d a little bit I'm writing a simple pingpong game
> using
Thanks a lot, now those errors are gone. Still it refuses to work
properly...
I have a method clockTick in Main.d and that should be called every 0.1
seconds, when I place a call to that method in a onmousenotify event(when
the mouse moves) It runs correctly apart from the odd fact I need to move m
urmaj
> maarten van damme wrote:
>
>> Hi everyone,
>> for getting to know d a little bit I'm writing a simple pingpong game
>> using gtk.
>> for it to work I need to be able to do something every 0.1 seconds so I
>> was wondering if there was some kind
it missing and do i have to
write my own or have I overlooked it?
maarten
Thanks a lot for clarifying it for me. It runs perfectly now.
I should've used gtk.(message)dialog but I got terribly lost in the gtk
documentation and so I missed it.
2011/7/14 Mike Wey
> On 07/14/2011 07:53 AM, maarten van damme wrote:
>
>> when I leave destroy out the inpu
when I leave destroy out the inputbox always stays visible even after I've
pressed ok.
here are the other files
http://dl.dropbox.com/u/15024434/Main.d
http://dl.dropbox.com/u/15024434/InputBox.d
http://dl.dropbox.com/u/15024434/MessageBox.d
> On 07/13/2011 11:00 PM, maarten van dam
se classes are simply me learning gtkd and the d language in
general. If you see me doing something "dirty" or bad please tell me so I
learn a bit from my mistakes :)
Maarten
ok, thank you all very much for answering my questions, this should get me
going.
Sorry for flooding everyone's email boxes lately ;)
I can hardly beleive it but I succeeded in compiling. For some reason bud
prefered the windows link.exe that was installed on my system with visual
studio 2010 shell over the dmd version. I uninstalled it and I could compile
it correctly.
Then I c
ng C:\D\gtkD\src\gtkc\paths.obj
...
So it finds a libarian in program files but doesn't execute with quotes so
that files :s
Can I compile with dmd and not bud?
2011/6/26 maarten van damme
> so bud is now on my path but after running I get "C:\program is not
> recognized as a progra
so bud is now on my path but after running I get "C:\program is not
recognized as a program" error
I compiled with following command:
dmd -I../../src -I../../srcgda -I../../srcgl -I../../srcgstreamer
-I../../srcsv -c -lib -wi gtkD.d
2011/6/26 maarten van damme
> I compiled it wit
I compiled it with dmd but the guy in that thread has exactly the same
problem as me, thanks for pointing me to it :)
I also noticed my gtkD.lib is 31 kb so I'll do what they suggest in the
tread and post my progress
2011/6/26 Mike Wey
> On 06/26/2011 04:02 PM, maarten van damme wrote
A little update: I've succesfully compiled gtkD and I now have a gtkD.lib.
I've copied it to the lib folder where dmd was installed. now I try to
compile my first example without eclipse to start with.
I use dmd -IC:\D\gtkD\src -L C:\D\gtkD\src\build\gtkD.lib main.d
and I get as output
OPTLINK (R)
Hello everyone,
I know it'll sound a bit stupid but I'm having a very hard time trying to
setup dmd with eclipse and gtkd.
I've only played with d and loved it soo much I decided to get the book but
I want to apply everything from the book on a gui.
At home I use windows 7 and debian, windows 7 for
nfo here :D
2011/5/1 maarten van damme
> Yes, and i have a kernel32.def for my .d file and a kernel33.def for the
> original kernel dll. Your not confused, I am. I thought i needed kerel33.def
> so i could acces the dll from d, isnt this the case?
> Op 1-mei-2011 22:10 schreef &
ve completely misunderstood what you want to do. What do you
> want to build from kernel33.def? Isn't kernel33.dll the original DLL
> that you want to intercept by replacing it with the compiled DLL?
>
> maarten van damme wrote:
>> Great, now the error in kernel32.def is resolve
NGLE" in the DATA statement of the def file, it
> will share the memory across processes.
>
>
>
> maarten van damme wrote:
>
>> Number overflow?
>> So I implemented the suggested changes (you can check them out at
>> http://dl.dropbox.com/u/15024434/version
r example but I think the
statisfaction will be even bigger if I were to succeed :p
2011/5/1 maarten van damme
> Wow, thanks for the help
> The first thing I did was in the .di file adding extern(windows){ ... }
> and now compiling doesn't give errors and when examining with dllexp I
change the callstack. Instead, you should
> just jump to it:
>
> void internal_hread()
> {
> asm
> {
>naked;
> jmp imported_hread;
> }
> }
>
> I haven't tried all that, though, so there might be some mistakes...
>
> Rainer
>
>
>
>
opbox.com/u/15024434/d/kernel33.dll
I've tried to compile using dmd -d kernel32.d kernel33.di kernel33.lib but
it throws errors like
"Error 42: Symbol undifined _Dkernel1336_hreadfzpV"
I have literally no clue why this is the case, can someone help me out or
look at the files?
I'm afraid I've been a little unclear.
I've copied kernel32.dll from the windows dir, renamed it to kernel33.dll
and generated a .lib from it using implib.
Then I've created a d file with a correct dllmain(stolen from examples) and
between
system(C){
export void * exportedfunctionfromkernel33.dll(
That example was a bit incomplete, preceding was the following code:
import std.c.windows.windows;
import core.dll_helper;
pragma(lib,"kernel33.lib");
__gshared HINSTANCE g_hInst;
extern (Windows)
BOOL DllMain(HINSTANCE hInstance, ULONG ulReason, LPVOID pvReserved)
{
switch (ulReason)
{
This is something I also came across in java.
When you do that in java it follows the dmd behaviour.
Simply my 2 cents :p
according to dllexp.exe (a dll examiner) my dll does not export any
functions.
So there is something wrong in my declaration:
pragma(lib,kernel33.lib);
extern(C){
export void * functionfromkernel33.lib () ;
...
}
How can one write this correctly?
2011/4/21 maarten van damme
> There is anot
but the application
using that dll states that that dll isn't valid.
thank you for taking your time to answer this question :) .
http://dl.dropbox.com/u/15024434/kernel32.d
>
> 2011/4/21 Robert Jacques
>
>> On Thu, 21 Apr 2011 07:49:14 -0400, maarten van damme <
>>
k?
And the function I want to change I declare myself and write in d?
I haven't really mastered the d language and I'm simply playing around with
it, simply checking if I've understood it.
2011/4/18 Robert Jacques
> On Mon, 18 Apr 2011 04:11:16 -0400, maarten van damme <
&
The problem with that aproach would be that the functions are in another
location in the export table.
I've read that the locations need to stay exactly the same.
Am I wrong about this?
2011/4/18 Robert Jacques
> On Sun, 17 Apr 2011 16:09:02 -0400, maarten van damme <
> maartenvd
language?
Asuming this has to be done with the pragma(lib,...) function but I don't
really know how.
thanks in advance,
Maarten
Yoohoo, i got eclipse working with it an compiled without errors.
So if i understand it correctly a .h/.di file contains the info abou what's
compiled in the lib so you can use it, sounds logical :)
And about eclipse: when i let him autocomplete when i haven't typed anything it
freezes for 2 m
Thanks to everyone, I got it to compile :D
Still don't get the point of a lib file. I'm used to program java and there
you can compile to a jar-libary, a lib in d is obviously not the same.
So what's the point of compiling all those files to a lib if you can't use
that lib anymore?
Is there some documentation on this?
Wow, thank you for the fast reply.
Winbase.d is compiled in win32.lib or am i really getting confused?
Op 27-mrt.-2011 om 22:25 heeft Jacob Carlborg het volgende
geschreven:
> On 2011-03-27 22:03, maarten van damme wrote:
>> Hello everyone,
>> I've succesfully compile
ib");*
*
*
*import win32.winbase;"*
The compile command is:
*"dmd.exe common.d main.d win32.lib -ofediting.exe -inline -O -release -w
-version=Unicode -version=WindowsVista"*
*
*
So it looks as if the modules from win32.lib do not get used when I try to
import.
Thanks in advance,
Maarten
92 matches
Mail list logo