On Thursday, 17 November 2016 at 06:33:06 UTC, Kim wrote:
I think I will go for the more C-like binding of DerelictLua; I
am fine for the shared libraries binding as I don't need static
bindings, but I guess that could be added without too much
effort?
Some of the Derelict bindings
On Thursday, 17 November 2016 at 04:54:02 UTC, Soulsbane wrote:
On Thursday, 17 November 2016 at 03:46:26 UTC, rikki cattermole
wrote:
On 17/11/2016 11:53 AM, Kim wrote:
Hello
what is the best Lua integration available?
I have found these two so far:
* https://github.com/JakobOvrum/LuaD
On Wednesday, 16 November 2016 at 14:44:06 UTC, Stefan Koch wrote:
And Again a bit of bad news.
Due to problems in the lowering of function arguments the
implementation of strcat is delayed again.
The bug does not affect strings.
Since strings are not build up out of multiple
On Thursday, 17 November 2016 at 03:46:26 UTC, rikki cattermole
wrote:
On 17/11/2016 11:53 AM, Kim wrote:
Hello
what is the best Lua integration available?
I have found these two so far:
* https://github.com/JakobOvrum/LuaD (only Lua 5.1)
* https://github.com/DerelictOrg/DerelictLua (Lua 5.3)
On 17/11/2016 11:53 AM, Kim wrote:
Hello
what is the best Lua integration available?
I have found these two so far:
* https://github.com/JakobOvrum/LuaD (only Lua 5.1)
* https://github.com/DerelictOrg/DerelictLua (Lua 5.3)
The former seems better/more active. Are there other similar projects
https://issues.dlang.org/show_bug.cgi?id=16574
--- Comment #17 from Martin Nowak ---
The compiler fails to resolve the recursive DynPub field in CustomControl using
forward references, subsequently the CustomControl base class has Type.error
and the overload check fails.
Could be a
On Thursday, 17 November 2016 at 03:10:33 UTC, Jonathan M Davis
wrote:
Regardless, optional parens are one of those features that
seems really nice in some situations and gets really annoying
in others, and you hit one of those spots where it's annoying.
I would be feasible to only recognize
It's a very secure website with a wide variety of payment
choices, I bought AK-47 from csgo4sale and gave me the steam
download code instantly with no problems after I signed up and
bought the game. Other websites I've used to buy digital games
also have given me codes instantly with no signup
On Thursday, November 17, 2016 02:53:50 Meta via Digitalmars-d wrote:
> On Thursday, 17 November 2016 at 02:47:50 UTC, Stefan Koch wrote:
> > I think you are doing a parenthesis-less call.
>
> I swear optional parens is going to drive me insane. Why
> @property wasn't just fixed instead of the
On Thursday, 17 November 2016 at 01:20:58 UTC, Steven
Schveighoffer wrote:
I had one job...
Forgot to post the link BEFORE the live stream. In any case, it
was recorded and is here:
https://www.youtube.com/watch?v=dVuPgbRIljA
Sorry, please accept my shameful apology.
-Steve
I was
Cross-platform multiplayer was planned between Windows, OS X,
Linux, and PlayStation 3 players,but was ultimately limited to
Windows, OS X, and Linux because of the differences in
update-frequency between systems.The PlayStation 3 version offers
three input control methods, which include using
Counter-Strike:Global Offensive is an online first-person shooter
developed by Hidden Path Entertainment and Valve Corporation. It
is the fourth game in the main Counter-Strike franchise.
Counter-Strike: Global Offensive was released for Microsoft
Windows, OS X, Xbox 360, and PlayStation 3 on
On Wednesday, 16 November 2016 at 22:53:46 UTC, Kim wrote:
Hello
what is the best Lua integration available?
I have found these two so far:
* https://github.com/JakobOvrum/LuaD (only Lua 5.1)
* https://github.com/DerelictOrg/DerelictLua (Lua 5.3)
The former seems better/more active. Are there
On Thursday, 17 November 2016 at 02:47:50 UTC, Stefan Koch wrote:
I think you are doing a parenthesis-less call.
I swear optional parens is going to drive me insane. Why
@property wasn't just fixed instead of the current horribly
broken and unintuitive situation, I'll never know.
On Wednesday, 16 November 2016 at 09:11:50 UTC, Timon Gehr wrote:
I want to get there eventually. :)
Unfortunately I haven't had a lot of time to spend on this
lately. Also, DMD 2.060 has quite many annoying bugs that slow
down development.
Sounds to me like you should rewrite the compiler
On Thursday, 17 November 2016 at 02:15:49 UTC, Meta wrote:
On Thursday, 17 November 2016 at 02:14:43 UTC, Meta wrote:
On Thursday, 17 November 2016 at 01:48:51 UTC, Jonathan M
Davis wrote:
Well, you _can't_ return a function. You could return a
function pointer or a delegate, but not a
On Thursday, 17 November 2016 at 02:14:43 UTC, Meta wrote:
On Thursday, 17 November 2016 at 01:48:51 UTC, Jonathan M Davis
wrote:
Well, you _can't_ return a function. You could return a
function pointer or a delegate, but not a function. What would
it even mean to return a function?
Well, it
On Thursday, 17 November 2016 at 01:48:51 UTC, Jonathan M Davis
wrote:
Well, you _can't_ return a function. You could return a
function pointer or a delegate, but not a function. What would
it even mean to return a function?
Well, it works. This compiles:
auto bug(alias f)()
{
return f;
On Thursday, 17 November 2016 at 01:27:45 UTC, Meta wrote:
auto bug(alias f)()
{
return cast(typeof(f))
}
void fun() {}
void main()
{
bug!fun(); //Error: functions cannot return a function
}
Got a bit ahead of myself. Found this in DMD 2.072.0.
On Wednesday, 16 November 2016 at 02:24:26 UTC, azzuwan wrote:
It seems that /usr/bin/dman is currently used by
deepin-manual. Is there anyway to get around this?
Take a look at dpkg-divert(1)
On Thursday, November 17, 2016 01:27:45 Meta via Digitalmars-d wrote:
> auto bug(alias f)()
> {
> return cast(typeof(f))
> }
>
> void fun() {}
>
> void main()
> {
> bug!fun(); //Error: functions cannot return a function
> }
Well, you _can't_ return a function. You could return a function
I'm running into a std.regex memory corruption bug in git HEAD:
https://issues.dlang.org/show_bug.cgi?id=16698
and I can't seem to find a way to work around the problem besides
recompiling with an older compiler. Any ideas??
T
--
I think Debian's doing something wrong, `apt-get
auto bug(alias f)()
{
return cast(typeof(f))
}
void fun() {}
void main()
{
bug!fun(); //Error: functions cannot return a function
}
On 11/16/16 6:34 PM, Steven Schveighoffer wrote:
On 11/13/16 6:51 PM, Steven Schveighoffer wrote:
On 11/4/16 12:02 PM, Steven Schveighoffer wrote:
Just announced:
https://www.meetup.com/Boston-area-D-Programming-Language-Meetup/events/235353279/
We are going to try a freely available
https://issues.dlang.org/show_bug.cgi?id=16698
Issue ID: 16698
Summary: std.regex.matchFirst corrupts stack
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: major
Priority:
In my application I have already have an event loop running
taking care of all sorts of things. Now I want to use Vibe.d to
run an asynchronous websocket API to provide some debugging
information. Normally Vibe.d's main takes care of handling the
event loop.
I want to run vibe's event loop
https://issues.dlang.org/show_bug.cgi?id=16697
Walter Bright changed:
What|Removed |Added
Keywords||bootcamp
--
https://issues.dlang.org/show_bug.cgi?id=16697
Issue ID: 16697
Summary: Extend IsExpression to accept __vector as a
TypeSpecialization
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16697
Walter Bright changed:
What|Removed |Added
Keywords||SIMD
--
https://issues.dlang.org/show_bug.cgi?id=16667
Martin Nowak changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=16696
Jesse Phillips changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16661
Martin Nowak changed:
What|Removed |Added
Keywords||pull
CC|
https://issues.dlang.org/show_bug.cgi?id=16661
--- Comment #3 from Martin Nowak ---
Introduced by https://github.com/dlang/phobos/pull/4427, fix in
https://github.com/dlang/phobos/pull/4904.
--
https://issues.dlang.org/show_bug.cgi?id=16676
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=16661
Martin Nowak changed:
What|Removed |Added
CC||thecybersha...@gmail.com
---
On 11/16/16 6:34 PM, Steven Schveighoffer wrote:
On 11/13/16 6:51 PM, Steven Schveighoffer wrote:
On 11/4/16 12:02 PM, Steven Schveighoffer wrote:
Just announced:
https://www.meetup.com/Boston-area-D-Programming-Language-Meetup/events/235353279/
We are going to try a freely available
https://issues.dlang.org/show_bug.cgi?id=16696
Issue ID: 16696
Summary: [regression] Assert(0) or HLT reduced to separate dub
package
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status:
https://issues.dlang.org/show_bug.cgi?id=16695
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||rejects-valid
CC|
On 11/13/16 6:51 PM, Steven Schveighoffer wrote:
On 11/4/16 12:02 PM, Steven Schveighoffer wrote:
Just announced:
https://www.meetup.com/Boston-area-D-Programming-Language-Meetup/events/235353279/
We are going to try a freely available conference room to have a
presentation. No details on
https://issues.dlang.org/show_bug.cgi?id=16695
Issue ID: 16695
Summary: variadic argument static array can't use template arg
as size
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
On 16.11.2016 19:17, Jacob Carlborg wrote:
On 2016-11-16 01:11, Timon Gehr wrote:
Yup. There are many features missing that are quite easy to implement
but require work, and a few that are somewhat messy to specify (e.g.
'protected'). An incomplete list:
* UDA's
* Built-in members (init,
Dne 16.11.2016 v 23:43 lafoldes via Digitalmars-d-learn napsal(a):
Hi,
I'd like to create a UTF16 text file on Windows 7, using
std.stdio.File and std.stdio.File.write... functions (so no binary
write, no Win32 functions).
I was experimenting with variations of this code…:
import std.stdio;
Hello
what is the best Lua integration available?
I have found these two so far:
* https://github.com/JakobOvrum/LuaD (only Lua 5.1)
* https://github.com/DerelictOrg/DerelictLua (Lua 5.3)
The former seems better/more active. Are there other similar
projects that I am missing?
Thanks
Hi,
I'd like to create a UTF16 text file on Windows 7, using
std.stdio.File and std.stdio.File.write... functions (so no
binary write, no Win32 functions).
I was experimenting with variations of this code…:
import std.stdio;
int main(string[] argv)
{
auto output = File("wide_text.txt",
On Wednesday, 16 November 2016 at 04:04:05 UTC, rikki cattermole
wrote:
And then we'll get complaints that they need another big
download just to compile basic 32bit programs... This whole
argument about making changes is rediculas.
Unless we get explicit permission from Microsoft to
On 11/16/2016 01:13 PM, Jacob Carlborg wrote:
Any information about the venue or the unofficial hangout place?
Same as last year. More info forthcoming. -- Andrei
On Wednesday, 16 November 2016 at 13:10:06 UTC, unDEFER wrote:
On Wednesday, 16 November 2016 at 10:54:32 UTC, Era Scarecrow
wrote:
I just have to wonder every time I look at this... how long
is 1 hnsecs? I'd assume not very long. Either blocking unless
there's no more messages, or having a
On 2016-11-16 09:19, Patrick Schluter wrote:
go doesn't need the MS tools apparently.
As far as I know Go uses static linking and contains its own linker.
--
/Jacob Carlborg
On 2016-11-16 01:11, Timon Gehr wrote:
Yup. There are many features missing that are quite easy to implement
but require work, and a few that are somewhat messy to specify (e.g.
'protected'). An incomplete list:
* UDA's
* Built-in members (init, stringof, min, max, ...)
* various forms of
On 2016-11-14 11:49, Andrei Alexandrescu wrote:
Please join us at DConf 2017, the conference of the D programming
language in Berlin, Germany, May 4-6 2017.
We're happy to announce that the D Language Foundation is cooperating
again with Sociomantic to organize DConf 2017 in Berlin for the
On 2016-11-14 08:59, Nick Sabalausky wrote:
I still have an "old fashioned" HDD-only in my PC (a laptop):
dirt-cheap: <$100 for 1TB (try to find an SSD that remotely compares),
and the ONLY time I ever have speed issues in either Win or Lin is when
I'm running far too much crap and start
On 11/16/2016 03:50 AM, Kagamin wrote:
On Wednesday, 25 May 2016 at 16:47:30 UTC, Nick Sabalausky wrote:
Drives me nuts when people count "Always uses GTK on Linux" as "Native
UI". It's like those programs that do everything completely
Ubuntu-centric whenever possible and then advertise "Linux
On 2016-11-14 09:05, Nick Sabalausky wrote:
The Linux and Mac versions rely on Linux/Mac's native C linkers,
regardless of 32/64 bit.
Yeah. On macOS, Xcode is a 4.x GB download size and 12 GB install size
(just looking at what I currently have).
Perhaps we should take the missing parts
On 11/16/16 4:35 AM, unDEFER wrote:
On Tuesday, 15 November 2016 at 20:46:59 UTC, Steven Schveighoffer wrote:
From experience, this smells like a race condition.
And I have found the error! And you are right! It is really race condition.
The problem was that I had not one receiveTimeout()
On Wednesday, 16 November 2016 at 17:06:37 UTC, Patrick Schluter
wrote:
I get the technical reasons for using the MS toolchain but that
doesn't change the fact that it is an ugly wart that has
several negative aspect. Because in addition to the cases
already described where it can be a pita
On Wednesday, 16 November 2016 at 17:06:37 UTC, Patrick Schluter
wrote:
On Wednesday, 16 November 2016 at 09:21:18 UTC, Kagamin wrote:
On Tuesday, 15 November 2016 at 14:41:34 UTC, Daniel Kozak
wrote:
AFAIK ld on mingw can`t link against mscoff file format so it
is not very usable.
It's
On Wednesday, 16 November 2016 at 09:21:18 UTC, Kagamin wrote:
On Tuesday, 15 November 2016 at 14:41:34 UTC, Daniel Kozak
wrote:
AFAIK ld on mingw can`t link against mscoff file format so it
is not very usable.
It's dmd/optlink that don't support mscoff, mingw supports only
mscoff.
LLD is
On Wednesday, 16 November 2016 at 14:59:40 UTC, Edwin van Leeuwen
wrote:
If you are happy to use dub I would just add the GL library as
a dependency to my dub.json file. Then if you call dub it will
download and compile the necessary file.
Example dub.json file:
```
{
"name":
On Wednesday, 16 November 2016 at 14:27:41 UTC, Darren wrote:
Hey all,
This is a very beginner problem, but not one I know how to do
on my own. Could anyone give a step-by-step guide on how to
compile libraries, and then use them in my project with DUB?
If you are happy to use dub I would
https://issues.dlang.org/show_bug.cgi?id=16682
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/73b699de123a3f8d2e38f0d63735865fa78c03ce
Revert "Merge pull request #4789 from
https://issues.dlang.org/show_bug.cgi?id=16682
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #2
On Wednesday, 16 November 2016 at 14:06:16 UTC, Basile B. wrote:
On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote:
Hi Guys,
I was wondering how much interest in static analysis exists in
this community .
DMD already has rudimentary support for these kinds of things.
By the
On Wednesday, 16 November 2016 at 10:25:30 UTC, Stefan Koch wrote:
First Execution (cold cache) :
Initializing Heap: 17.4 ms
Generating Bytecode:0.7 ms
Executing Bytecode: 5.3 ms
Converting to CTFE-EXp: 5.1 ms
Second run (warmer cache) :
Initializing Heap: 16.9 ms
Generating
Hey all,
This is a very beginner problem, but not one I know how to do on
my own. Could anyone give a step-by-step guide on how to compile
libraries, and then use them in my project with DUB?
For example, I've been using this guide for graphics:
On Tuesday, 15 November 2016 at 14:45:29 UTC, Stefan Koch wrote:
Hi Guys,
I was wondering how much interest in static analysis exists in
this community .
DMD already has rudimentary support for these kinds of things.
By the way there are several problems with static analysis of D
code.
On 11/15/2016 11:39 PM, xtreak wrote:
Great news!
A couple of js, svg and png files are missing. I tried to raise an issue
in dconf.org at Github but it seems issues are disabled. I tried force
reload on Mac OSX Chrome but the issue persists. Hope someone can verify
the issue. Seems it could
On Wednesday, 16 November 2016 at 10:54:32 UTC, Era Scarecrow
wrote:
I just have to wonder every time I look at this... how long is
1 hnsecs? I'd assume not very long. Either blocking unless
there's no more messages, or having a longer timeout period
seems a better bet.
Might make it
On Wednesday, 16 November 2016 at 10:45:54 UTC, Dicebot wrote:
On 11/15/2016 07:05 PM, Stefan Koch wrote:
[...]
It's a compiler frontend.
Very good observation :P
I cannot see any other purposes then code-analysis and
code-transformation. Regarding Transformations I wanted to
write a
https://issues.dlang.org/show_bug.cgi?id=16550
--- Comment #7 from Walter Bright ---
Looks like a simple wrapper could be put around the PSHUFD instruction.
--
On Tuesday, 15 November 2016 at 16:36:00 UTC, unDEFER wrote:
The parent thread has the next code to receive it and handle:
receiveTimeout( dur!"hnsecs"(1),
(Tid tid)
{//the message from child thread handler} );
I just have to wonder every time I look at this...
static MySingleton get() {
if (instance_ is null) {
synchronized {
if (instance_ is null) {
atomicStore(instance_, new MySingleton);
}
}
}
return instance_;
}
This should work fine and faster.
On 11/15/2016 07:05 PM, Stefan Koch wrote:
>> When doing so, try to forget that static analysis is the intended
>> goal. It has to be naturally usable for any other purpose too,
>> focusing on one specific application case is likely only harm design
>> decisions.
>
> It's a compiler frontend.
On Wednesday, 16 November 2016 at 10:07:06 UTC, Stefan Koch wrote:
A more accurate breakdown :
Initializing Heap: 18.6 ms
Generating Bytecode:1.2 ms
Executing Bytecode:13.2 ms
Converting to CTFE-EXp: 9.1 ms
For a second execution of the same function with the same
arguments
Am 14.11.2016 um 20:49 schrieb Andrei Alexandrescu:
Please join us at DConf 2017, the conference of the D programming
language in Berlin, Germany, May 4-6 2017.
We're happy to announce that the D Language Foundation is cooperating
again with Sociomantic to organize DConf 2017 in Berlin for the
https://issues.dlang.org/show_bug.cgi?id=16550
--- Comment #6 from Илья Ярошенко ---
(In reply to Walter Bright from comment #4)
> I also cannot find any documentation on extractRe() and extractIm(). I
> googled for "ldc extractre extractim" and there were no results.
On Wednesday, 16 November 2016 at 09:45:24 UTC, Stefan Koch wrote:
Here is a small demostration of the performance increase :
[root@localhost dmd]# time src/dmd -c testSettingArrayLength.d
> x 2> x
real0m0.199s
user0m0.180s
sys 0m0.017s
[root@localhost dmd]# time src/dmd -c
Here is a small demostration of the performance increase :
[root@localhost dmd]# time src/dmd -c testSettingArrayLength.d >
x 2> x
real0m0.199s
user0m0.180s
sys 0m0.017s
[root@localhost dmd]# time src/dmd -c testSettingArrayLength.d
-bc-ctfe > x 2> x
real0m0.072s
user
https://issues.dlang.org/show_bug.cgi?id=16694
Issue ID: 16694
Summary: ICE on taking address of `export` function
(declaration-only)
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Tuesday, 15 November 2016 at 20:46:59 UTC, Steven
Schveighoffer wrote:
From experience, this smells like a race condition.
And I have found the error! And you are right! It is really race
condition.
The problem was that I had not one receiveTimeout() but 3
receiveTimeout() for each
https://issues.dlang.org/show_bug.cgi?id=16550
Iain Buclaw changed:
What|Removed |Added
CC||ibuc...@gdcproject.org
On Wednesday, 16 November 2016 at 01:22:33 UTC, Jot wrote:
What's your point?
My point is that PS as a textual format can be easily generated
without external libraries or tools, and then converted to an
identically looking PDF.
On Wednesday, 16 November 2016 at 09:22:01 UTC, Stefan Koch wrote:
On Tuesday, 15 November 2016 at 23:46:51 UTC, Stefan Koch wrote:
I suspect that somewhere the heapPtr is not bumped or the
length is not set correctly.
Indeed the length was not set on a code-path meant for
resizeing.
The
On Tuesday, 15 November 2016 at 23:46:51 UTC, Stefan Koch wrote:
On Tuesday, 15 November 2016 at 22:50:49 UTC, deadalnix wrote:
On Tuesday, 15 November 2016 at 01:35:42 UTC, Stefan Koch
wrote:
However there is a a bug inside the code that does
bounds-checking for array assignment.
In rare
On Tuesday, 15 November 2016 at 14:41:34 UTC, Daniel Kozak wrote:
AFAIK ld on mingw can`t link against mscoff file format so it
is not very usable.
It's dmd/optlink that don't support mscoff, mingw supports only
mscoff.
LLD is quite new so I do not know how production ready is.
AFAIK
Really situation is much more interesting:
Sometimes I got Tid not the same as sent.
Sometimes I receive 2 TID although sent only 1.
On 15.11.2016 14:11, Rainer Schuetze wrote:
On 14.11.2016 21:26, Timon Gehr wrote:
On 14.11.2016 00:32, Steven Schveighoffer wrote:
A Foo[] can be stored in a Foo, because it doesn't need the size. But
yes, as soon as you start needing Appender functions, then the compiler
chokes.
It is a
On Wednesday, 25 May 2016 at 16:47:30 UTC, Nick Sabalausky wrote:
Drives me nuts when people count "Always uses GTK on Linux" as
"Native UI". It's like those programs that do everything
completely Ubuntu-centric whenever possible and then advertise
"Linux Support". I *really* wish GTK would
On 15.11.2016 10:10, Ali Çehreli wrote:
On 11/14/2016 12:26 PM, Timon Gehr wrote:
Error with DMD, works with my front end.
What are the steps to use your front end instead of dmd's?
The first step is I need to implement all remaining language features. :)
Is the
awesome combo of Timon
On Thursday, 10 November 2016 at 17:17:51 UTC, Konstantin
Kutsevalov wrote:
Hi, what is a correct (and simple) way to create an singleton?
This is how I see that now:
```
class ApMessageRouter
{
static ApMessageRouter instance = null;
private this() { } //
89 matches
Mail list logo