On Wednesday, 27 May 2020 at 13:47:46 UTC, Claude wrote:
On Wednesday, 27 May 2020 at 13:42:08 UTC, Andrej Mitrovic
wrote:
Is the actual problem those `@trusted:` declarations at the
top of C headers?
There could be a simple solution to that:
Ban `@trusted:` and `@trusted { }` which apply to
On Monday, 25 May 2020 at 10:41:43 UTC, rikki cattermole wrote:
On 25/05/2020 10:29 PM, Zoadian wrote:
you complain about @trusted losing it's meaning, but @safe was
ment to mean "mechanically verified memory safety". it should
be forbidden to add @safe to any function that can not be
On Monday, 25 May 2020 at 11:40:46 UTC, Johannes T wrote:
On Monday, 25 May 2020 at 10:19:22 UTC, Johannes Loher wrote:
[..]
But with the DIP in its current form, we make @safe lose its
meaning and power, which is much worse in my opinion.
[..]
The alternative, not making extern @safe,
On Monday, 25 May 2020 at 09:25:52 UTC, Johannes T wrote:
On Monday, 25 May 2020 at 00:56:04 UTC, Timon Gehr wrote:
[..]
After thinking about it, Walter ultimately made the right
decision, leading to overall higher safety and code quality.
We all agree that making extern C @safe is
On Tuesday, 26 November 2019 at 08:57:49 UTC, dangbinghoo wrote:
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.
On Thursday, 8 August 2019 at 15:51:45 UTC, Drobet wrote:
I'm having a weird issue, where after defining my classes
variables as private, they can still be modified and looked at
from the outside. That leads to this code compiling with no
issues.
import std.stdio;
class Vector3
{
debug {
import std.stdio;
writeln(args);
}
On Wednesday, 15 August 2018 at 14:58:40 UTC, Everlast wrote:
Many times one must create a variable before a function call:
int x = 3;
foo(x);
writeln(x);
[...]
check this out:
void main() {
import std.stdio;
writeln = 4;
}
https://run.dlang.io/is/0wgWtw
On Tuesday, 12 June 2018 at 15:21:49 UTC, Jacob Shtokolov wrote:
On Tuesday, 12 June 2018 at 14:33:57 UTC, Steven Schveighoffer
wrote:
[...]
Thank you Steve!
Then I'll try to fire a bug report and propose my own solution
to this problem.
Probably there is no need to track down the
On Thursday, 17 May 2018 at 02:32:07 UTC, KingJoffrey wrote:
I propose an idea, for discussion (robust discussion even
better ;-)
Add an new attribute to class, named 'sealed'.
If class level protection is added, please do not call it sealed.
People from c++ might be suprised by 'private'
On Monday, 23 April 2018 at 14:38:44 UTC, TheGag96 wrote:
On Monday, 23 April 2018 at 11:26:30 UTC, Chris wrote:
On Monday, 23 April 2018 at 09:50:21 UTC, Zoadian wrote:
i'm happy with:
vibe.d + CEF + vue.js
Good point. I've been thinking about vibe.d + HTML/JS based
UIs too. I think
On Monday, 23 April 2018 at 06:12:33 UTC, TheGag96 wrote:
Heya guys. For my projects that use a GUI library, I've tried
both tkd and DlangUI. Both I feel have their drawbacks, and I'd
like to know if any of you are using anything you find better.
In my case, my ideal choice would be:
- Nice
On Wednesday, 28 February 2018 at 00:53:16 UTC, psychoticRabbit
wrote:
It should have gone to the Java developers - cause they
deserved it.
C++ is the worst thing to have ever come out of computer
science!
yes c++ is not the greatest language (thats why i use D). but
java is the worst
On Thursday, 22 February 2018 at 10:42:33 UTC, Jonathan M Davis
wrote:
On Thursday, February 22, 2018 10:30:44 psychoticRabboit via
Digitalmars-d- announce wrote:
On Thursday, 22 February 2018 at 09:42:47 UTC, Atila Neves
wrote:
> I'm going to a) never write these imports and b) pretend this
>
On Friday, 16 February 2018 at 22:58:30 UTC, Ivan Trombley wrote:
On Wednesday, 14 February 2018 at 02:40:18 UTC, Mike Parker
wrote:
What [does] it mean to say they don't work? Have you reported
any issues? I don't see any in the DerelictVulkan repo. If
something's broken, please report it so
On Monday, 27 November 2017 at 09:07:10 UTC, Nicholas Wilson
wrote:
On Monday, 27 November 2017 at 07:58:27 UTC, IM wrote:
On Monday, 27 November 2017 at 03:01:24 UTC, Jon Degenhardt
wrote:
Forum discussions are valuable venue. Since you are in
Silicon Valley, you might also consider attending
On Wednesday, 28 September 2016 at 11:53:05 UTC, Russel Winder
wrote:
Hi,
I see that some people have wrapped in various different ways
ZeroMQ. Was this manually, or using DStep?
Has anyone wrapped Nanomsg? If yes, was this manually or using
DStep.
derelict_extras-nanomsg was converted
On Monday, 11 July 2016 at 16:30:44 UTC, Ilya Yaroshenko wrote:
Please report your CPU (GitHub/Gist):
my results for Intel Core i7-6700K CPU @ 4.00GHz rev.2 (the one
with sgx)
https://gist.github.com/Zoadian/f53d818e714a849ba7f34bbec2f3339a
awesome!
On Tuesday, 16 February 2016 at 14:20:51 UTC, Ola Fosheim Grøstad
wrote:
https://www.khronos.org/vulkan/
OS-X Metal is kinda like a C++ derivative => GPU compilation.
With Vulkan/SPIR other languages should be able to come up with
something similar for other platforms.
finally.
I'll write
On Thursday, 4 February 2016 at 15:45:03 UTC, Satoshi wrote:
Hi,
is there any way how to iterate over every module/submodule?
I have project like
Rikarin
Rikarin/AppKit
Rikarin/Drawing
Rikarin/Runtime
etc.
In every directory, I have package.d file where I include every
.d file from the dir.
On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote:
Doesn't it look so much better: http://i.imgur.com/QlrbCou.png
+1
On Wednesday, 13 January 2016 at 13:41:00 UTC, Bubbasaur wrote:
May I suggest one thing? Could you put the page numbers on top
instead of bottom? Because this is a common style in many
pages, I think It would be nice if it was right bellow of (Log
in,Settings,help), because currently, if I
On Sunday, 6 September 2015 at 19:32:58 UTC, Prudence wrote:
template X(Y)
{
string X = Y.stringof;
}
[...]
as you'd have to write a parser for other languages why not just
use strings? you can already do this:
template X(string Y)
{
enum X = Y;
}
auto s = X!q{int 3;};
On Monday, 17 August 2015 at 16:57:33 UTC, Zoadian wrote:
wouldn't is(typeof(replace(array, from, to, stuff))) better be
a static if inside the first version?
nevermind, I missed that the first constraint is negated.
In that case I agree, else if would be nice.
On Monday, 17 August 2015 at 13:18:43 UTC, Steven Schveighoffer
wrote:
void replaceInPlace(T, Range)(ref T[] array, size_t from,
size_t to, Range stuff)
if(isDynamicArray!Range
is(Unqual!(ElementEncodingType!Range) == T)
!is(T == const T)
!is(T == immutable T))
{ /* version 1
On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote:
Some of the proposals do not even make any sense. Come on, all
people that got into this know how newcomer react to the Tuple
name noticed the same reaction. Yet, there is a large crow of
idiots (sorry if you are in that crowd, on that
On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote:
On Tue, Jul 21, 2015 at 04:06:11PM +, Zoadian via
Digitalmars-d wrote:
On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote:
Some of the proposals do not even make any sense. Come on,
all people that got into this know how
It is a compiletime tuple so i'd vote for:
CtTuple
On Tuesday, 19 May 2015 at 18:04:49 UTC, Marco Leise wrote:
Am Mon, 18 May 2015 22:16:47 -0700
schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org:
But that has branches in it. So I came up with:
bool isPowerOf2(uint x)
{
return (x (x - 1) | !x) == 0;
}
which has no branches at
On Friday, 13 March 2015 at 10:34:32 UTC, bearophile wrote:
Ola Fosheim Grøstad:
Yes, but what is a strict mode. I agree with most of what is
said about D and Go in the top post, but is there a market for
yet another high level language that isn't high level enough?
Strict mode is a D2 with
On Tuesday, 3 February 2015 at 16:30:27 UTC, solidstate1991 wrote:
https://github.com/ZILtoid1991/VDP-engine
Alpha release. Very basic functionality at the moment, will be
expanded later.
had a quick look:
public class Color
This is probably going to be slow. you want to read about
31 matches
Mail list logo