On Wednesday, 13 January 2016 at 18:40:39 UTC, Dav1d wrote:
On Wednesday, 13 January 2016 at 17:43:54 UTC, Jason Jeffory
wrote:
On Wednesday, 13 January 2016 at 16:04:32 UTC, Dav1d wrote:
On Wednesday, 13 January 2016 at 06:30:44 UTC, Jason Jeffory
wrote:
[...]
That's not correct.
Build a
What I can't seem to figure out why
try { loop }
catch
{
}
catches the exception but
try { loop }
catch (Throwable t) // Only diff
{
}
doesn't ;/ Probably my ignorance about D, but I was hoping to get
some info about the exception this way(line number, etc...)
On Wednesday, 13 January 2016 at 20:13:49 UTC, Dav1d wrote:
On Wednesday, 13 January 2016 at 19:20:40 UTC, Jason Jeffory
wrote:
What I can't seem to figure out why
try { loop }
catch
{
}
catches the exception but
try { loop }
catch (Throwable t) // Only diff
{
}
doesn't ;/ Probably my
On Wednesday, 13 January 2016 at 16:04:32 UTC, Dav1d wrote:
On Wednesday, 13 January 2016 at 06:30:44 UTC, Jason Jeffory
wrote:
On Tuesday, 12 January 2016 at 20:48:37 UTC, Dav1d wrote:
On Tuesday, 12 January 2016 at 19:16:51 UTC, Jason Jeffory
wrote:
[...]
Yup, that's a little bit annoying
On Wednesday, 13 January 2016 at 01:40:59 UTC, Mike Parker wrote:
On Tuesday, 12 January 2016 at 21:08:30 UTC, Jason Jeffory
wrote:
(I should mention that I am exaggerating a bit, and some of
the complaints about D are actually more directed to the
programming community in general. D has the
On Tuesday, 12 January 2016 at 20:48:37 UTC, Dav1d wrote:
On Tuesday, 12 January 2016 at 19:16:51 UTC, Jason Jeffory
wrote:
So, I finally got it to work by abandoning demios and static
linking. Derelict + dynamic linking worked with only about a
min of problems(copying the proper dll to the
On Wednesday, 13 January 2016 at 06:01:41 UTC, Vladimir Panteleev
wrote:
http://beta.forum.dlang.org/
https://github.com/CyberShadow/DFeed/pull/51
Cool, looks nice!
New construct to solve the problem!
extern(C++, nsin, nsout)
The nsin is the C++ namespace to import from and nsout is the D
namespace that the symbol ends up being in. You can default nsout
to be local, global, or whatever one wants.
So, I finally got it to work by abandoning demios and static
linking. Derelict + dynamic linking worked with only about a min
of problems(copying the proper dll to the correct place). I'd
prefer static linking but I can deal with that later.
My current problem is: 1. The code doesn't work as
On Tuesday, 12 January 2016 at 08:42:19 UTC, Robert M. Münch
wrote:
On 2016-01-12 04:15:36 +, Mike Parker said:
You can avoid all of these headaches by using dynamic bindings
like those at DerelictOrg [4] if they are available for the
libraries you use. Then the compile-time dependency on
On Tuesday, 12 January 2016 at 20:38:50 UTC, Laeeth Isharc wrote:
On Tuesday, 12 January 2016 at 19:38:32 UTC, Jason Jeffory
wrote:
It seems the whole state of affairs in programming is "Lets do
the most minimal work to get X to work in environment Y. To
hell with everything else!". The
(I should mention that I am exaggerating a bit, and some of the
complaints about D are actually more directed to the programming
community in general. D has the same fundamental issues though
and it is just a matter of scale. Programming is way more fun
when you are actually programming and
On Monday, 11 January 2016 at 23:26:51 UTC, Tobi G. wrote:
On Monday, 11 January 2016 at 20:19:50 UTC, Jason Jeffory wrote:
Sheesh, why is it so hard to do simple stuff?
1) Have you tryed passing --arch=x86_64 to dub?
2) > "versions-x86_64": ["XYZ"]
This is like a architecture dependent
On Tuesday, 12 January 2016 at 01:26:06 UTC, Mike Parker wrote:
On Monday, 11 January 2016 at 20:19:50 UTC, Jason Jeffory wrote:
On Monday, 11 January 2016 at 20:17:23 UTC, Jason Jeffory
wrote:
Any ideas? Happens when I do a very simple dub project and
try to compile using the MS linker(x86
Any ideas? Happens when I do a very simple dub project and try to
compile using the MS linker(x86 but set in sc.ini or 64). I'm
linking in glfw(using correct arch of course)
{
"name": "Test",
"description": "A minimal D application.",
"copyright": "Copyright © 2016,
On Monday, 11 January 2016 at 20:17:23 UTC, Jason Jeffory wrote:
Any ideas? Happens when I do a very simple dub project and try
to compile using the MS linker(x86 but set in sc.ini or 64).
I'm linking in glfw(using correct arch of course)
{
"name": "Test",
"description": "A
On Monday, 11 January 2016 at 05:46:11 UTC, Robert M. Münch wrote:
On 2016-01-11 01:47:54 +, Jason Jeffory said:
and how does one link in compiled static libraries into a dub
project?
I tried adding stuff like
"lflags" : ["+C:\\MyLibs\\"],
with the .lib file in it, but that doesn't
On Monday, 11 January 2016 at 10:01:11 UTC, Dav1d wrote:
On Monday, 11 January 2016 at 01:46:11 UTC, Jason Jeffory wrote:
Ok. So I tried it out and having some issues ;/ got it
basically to compile but 2 problems:
1. I have to get dub to include the lib, not a big deal,
shouldn't be issue
On Friday, 8 January 2016 at 13:50:56 UTC, Walter Bright wrote:
On 1/8/2016 12:11 AM, Jacob Carlborg wrote:
Walter, should "ns.a()" work in the above example?
No:
1. first "ns.a" looks up "ns". Finds it in the current module,
"main.ns".
2. Looks "a" up in "main.ns". "a" is not there.
Ok. So I tried it out and having some issues ;/ got it basically
to compile but 2 problems:
1. I have to get dub to include the lib, not a big deal,
shouldn't be issue if I can get the right lib in. (not sure if I
have to do all that conversion just or not, and glfw has several
libs for
On Monday, 11 January 2016 at 01:24:44 UTC, Jason Jeffory wrote:
On Monday, 11 January 2016 at 01:22:28 UTC, Jason Jeffory wrote:
Dmd's setup construction is a bit weird and has some difficult
issue tracking.
How about if dmd supported, if it already doesn't, some ways
to help the user check
Seems like it is a very nice way to get into openGL from D.
http://glad.dav1d.de/
I generated the bindings for all the latest versions of the
various specifications.
Does anyone have any tutorials that use this library effectively?
There's this
https://github.com/Dav1dde/glamour
But not
On Sunday, 10 January 2016 at 21:53:45 UTC, Dav1d wrote:
On Sunday, 10 January 2016 at 21:30:32 UTC, Jason Jeffory wrote:
Seems like it is a very nice way to get into openGL from D.
http://glad.dav1d.de/
I generated the bindings for all the latest versions of the
various specifications.
Does
On Sunday, 10 January 2016 at 23:14:33 UTC, Dav1d wrote:
On Sunday, 10 January 2016 at 22:37:28 UTC, Jason Jeffory wrote:
[...]
I would recommend using glfw for a context/window, there is a
binding in Deimos https://github.com/D-Programming-Deimos/glfw
- You need to either compile it
Dmd's setup construction is a bit weird and has some difficult
issue tracking.
How about if dmd supported, if it already doesn't, some ways to
help the user check the configuration of dmd. It would be quick
and easy to implement.
e.g.,
dmd -showinfo
Target Arch: x86
Libraries:
On Monday, 11 January 2016 at 01:22:28 UTC, Jason Jeffory wrote:
Dmd's setup construction is a bit weird and has some difficult
issue tracking.
How about if dmd supported, if it already doesn't, some ways to
help the user check the configuration of dmd. It would be quick
and easy to
Instead of something like
DoSomething(UserSettings["width"]);
Which requires an access to UserSettings, which may be slow in
time critical code(but you want to provide some way to configure
various behaviors), why not use self-modifying code?
DoSomething(3); // 3 maybe the default, but a
On Saturday, 9 January 2016 at 10:41:23 UTC, Rikki Cattermole
wrote:
I've been looking into this issue for web routing.
Over all its definitely more performant.
But:
- You need some way to generate code
- ABI compatibility
- Host binary compatibility (not the same as ABI)
- Front end for the
On Saturday, 9 January 2016 at 11:38:06 UTC, Rikki Cattermole
wrote:
On 10/01/16 12:32 AM, Jason Jeffory wrote:
On Saturday, 9 January 2016 at 10:41:23 UTC, Rikki Cattermole
wrote:
I've been looking into this issue for web routing.
Over all its definitely more performant.
But:
- You need some
On Saturday, 9 January 2016 at 23:43:32 UTC, Rikki Cattermole
wrote:
interface IFoo {
void a();
void b();
}
__gshared IFoo a, b;
__gshared IFoo instance;
class Foo(bool bar) : IFoo {
void a() {
static if (bar) {
// do something
No, I mean the real kinda of evolution, not algorithmic mimicking!
It seems that many programmers get dissatisfied with the state of
something and try and branch off and create something that suits
them. The evolution of programming is the evolution of life in
some way.
Is it possible that
On Tuesday, 5 January 2016 at 01:39:51 UTC, Temtaime wrote:
On Sunday, 3 January 2016 at 02:05:38 UTC, Walter Bright wrote:
On 1/2/2016 4:17 PM, Jack Stouffer wrote:
What is involved in catching C++ exceptions? Was this the
hard part of the whole
thing?
DMD doesn't catch them yet. But C++
On Tuesday, 5 January 2016 at 17:37:00 UTC, Chris Wright wrote:
On Mon, 04 Jan 2016 20:04:48 +0100, Max Klyga wrote:
Croc (previously miniD, a scripting language implemented in D)
-
http://jfbillingsley.com/croc/
Croc is written in C++. Jarrett got annoyed with D around the
D2 switch.
On Tuesday, 5 January 2016 at 20:11:10 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 5 January 2016 at 16:10:21 UTC, Jason Jeffory wrote:
It seems that many programmers get dissatisfied with the state
of something and try and branch off and create something that
suits them. The evolution of
We have many scripting engines available for use in D more or
less(lua, python, etc...).
Is there a D scripting engine that can be easily integrated into
a D project? A sort of "exec()". Something that works at
compile time and run time possibly? If is a static string
then it should be able
On Monday, 4 January 2016 at 19:25:18 UTC, yawniek wrote:
On Monday, 4 January 2016 at 19:04:48 UTC, Max Klyga wrote:
On 2016-01-04 18:40:03 +, Jason Jeffory said:
The fastest one would probably be Lua -
http://code.dlang.org/search?q=lua
But there are other options:
Python -
bad links in tutorial:
https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d/vibe-web
registerWebInterface is the entry point to vibe.d's high-level
web application framework. It takes a class instance and
registers each of its public methods as a route in the URLRouter.
By default,
On Sunday, 3 January 2016 at 18:53:10 UTC, Martin Tschierschke
wrote:
On Friday, 1 January 2016 at 00:14:08 UTC, Jason Jeffory wrote:
Vibe.d uses deit files for html generation. Seems nice but
haven't dived into it(just removes a but of nonsense and
allows code integration for dynamic
I think maybe one of the problems with D is that there seems to
be no focused backing of official d libs that are required to
create apps.
e.g., GUI, Audio, Graphics, etc...
If the D community could decide to officially support(with a
distinct web page for such things) such libraries, real
Ok, So Deit allows D code inside html... looks great.
But how do external variables work? If I create a variable in the
server(such as a class), can an html file access it easily? (not
having to jump through hoops)
doctype html
html
head
title D string interpolations
On Saturday, 2 January 2016 at 01:26:30 UTC, Rikki Cattermole
wrote:
So, if you consider me a "top dog" then yes we're getting it.
Of course I am only really a commoner round these parts.
I'm almost ready to ask for feedback for windowing and image
library (stage 1 and 2 out of like 4 for
On Saturday, 2 January 2016 at 00:56:42 UTC, tsbockman wrote:
On Saturday, 2 January 2016 at 00:20:37 UTC, Jason Jeffory
wrote:
I think maybe one of the problems with D is that there seems
to be no focused backing of official d libs that are required
to create apps.
e.g., GUI, Audio,
When I visit the D forum part of the site, and want to go to the
main D page I naturally click on the big D logo graphic... But
instead of taking me to the D home, it takes me right back where
I'm at(the forum index)... kinda useless since the left column
essentially is quickly accessed.
Vibe.d uses deit files for html generation. Seems nice but
haven't dived into it(just removes a but of nonsense and allows
code integration for dynamic generation... sounds great!!).
But what about visual editing? It's nice to be ale to see the
layout of the page directly without all the
44 matches
Mail list logo