Just noticed a nice blog post about mapping dependent type
applications to D.
http://www.infognition.com/blog/2015/dependent_types_in_d.html
reddit:
https://www.reddit.com/r/programming/comments/3f59f4/dependent_types_in_half_of_d/
On 2015-05-12 20:02:05 +, Brian Schott said:
On Tuesday, 12 May 2015 at 18:35:10 UTC, FujiBar wrote:
"But there are no vacancies..."
There's at least one:
https://emsi.bamboohr.com/jobs/view.php?id=30
https://arex.recruiterbox.com/jobs/fk0hjlh/
On 2015-05-06 12:21:30 +, Mengu said:
On Tuesday, 5 May 2015 at 12:04:39 UTC, Alex Ogheri wrote:
Hi guys, did you know this ??
http://vlang.org/
In fact, it gathered quite an enthusiastic appreciation at dvcon in Munich!!
some of you might know it, some of you might not but bernard hel
I thought that delete is deprecated, yet here Walter himself promotes a
solution that uses it.
Can we *PLEASE* finally deprecate things that are supposed to be
deprecated and remove things that are supposed to be removed?
On 2015-02-23 22:15:46 +, Walter Bright said:
This is pretty straig
On 2015-01-30 16:01:27 +, data man said:
Right now I'm working on std.sevenzip (7-zip by Igor Pavlov).
The main features of 7-Zip:
- High compression ratio in 7z format with LZMA and LZMA2 compression
- Supported formats:
- Packing / unpacking: 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM
-
On 2015-01-23 00:24:44 +, Andrei Alexandrescu said:
I think it's important that we enable Calypso
(https://github.com/Syniurge/Calypso) and related tooling that
interfaces D with other languages, notably C++.
A key topic in 2015 for D is playing well with C++. A good C++
interface will g
On 2015-01-21 19:12:20 +, Fool said:
Jonathan Blow published another video [1] presenting the progress of
his language. He is treating two main topics:
- a keyword preliminary called 'using' which seems to be quite close
to 'alias this';
- an annotation SOA for pointers and arrays whi
On 2014-12-11 14:53:57 +, Etienne said:
I've found 2 internal compiler errors so far, but they have been
occurring in very complex circumstances that I haven't been able to
isolate within reasonable time frames (~ 1 hour).
https://github.com/etcimon/dmd/commit/32f2b44c8c126243f9c4ff00b89b
On 2014-11-07 14:11:30 +, bearophile said:
(This is a partial repost from a recent D.learn thread.)
In Phobos we have SortedRange and assumeSorted, but I do find them not
very good for a common enough use case.
The use case is to keep a sorted array, keep adding items to it (adding
larg
On 2014-10-01 22:33:39 +, Paulo Pinto said:
Am 02.10.2014 00:11, schrieb po:
I don't know of any OOP in the STL, unless you mean the 1980's stuff
like iostreams and the other shit most people avoid using, but I don't
think this is considered part of the STL
Any use of a class instance
Jonathan Blow just recorded a talk about the needs and ideas for a
programming language for game developer.
https://www.youtube.com/watch?v=TH9VCN6UkyQ
This talk mentions D quite a lot of times.
D is mentioned as the most probable to be adopted if it were possible
for frictionless interaction
Microsoft being microsoft again.
http://www.freepatentsonline.com/y2014/0196015.html - DECLARATION OF
LIFETIME OF RESOURCE REFERENCE
This contains description of scoped classes, etc.
http://www.freepatentsonline.com/y2014/0196008.html - IMMUTABLE OBJECT TYPES
I really hope patent office will
On 2014-05-29 15:53:22 +, Tom Browder via Digitalmars-d said:
Has anyone done a survey of the primary OS of D users?
I (a D newbie) use Debian Linux (64-bit), but I get the feeling that
many (if not most) users are on some version of Windows.
Thanks.
Best regards,
-Tom
os X 10.9
You should make a pull request with this implementation adapted to
std.algorithm interface
On 2014-05-22 09:49:09 +, Nordlöw said:
I justd discovered that the std.algorithm implementation of Levenshtein
Distance requires O(m*n) memory usage.
This is not neccessary. I have a C++-implement
On 2014-02-23 03:10:23 +, Etienne Cimon said:
Would it eventually be in the making for D to have associative arrays
like string[string, int, Item]?
If it hasn't been planned, I'd say it would be great to have an API
that allows it to carry functionality of Boost Multi Index
Thoughts?
On 2014-02-06 15:47:05 +, Johannes Pfau said:
Am Thu, 6 Feb 2014 14:37:59 +0300
schrieb Max Klyga :
My point is that we should not ruin the language ease of use. We do
need to deal with Phobos internal allocations, but we should not
switch to ARC as a default memory management scheme
Anti-GC crowd tries to promote ARC as an deterministic alternative for
memory management.
I noticed that people promoting ARC do not provide any disadvantages
for proposed approach.
The thing is in gamedev and other soft-realitime software background
only a handfull types of resources are real
On 2013-12-20 21:21:22 +, Larry said:
Hello,
I am not really confident on this one, but could D be interfaced with Nginx ?
It would be nice to replace python but if not easily doable, then it is
a no-no for me.
Any clue on it ?
Thanks
Sure you can. There are three options:
1. Make ng
On 2013-12-16 20:38:51 +, Andrei Alexandrescu said:
bool between(T, U1, U2)(T v, U1 lo, U2 hi)
{
return v >= lo && v <= hi;
}
uint among(T, Us...)(T v, Us vals)
{
foreach (i, U; Us)
{
if (v == vals[i]) return i + 1;
}
return 0;
}
Add?
Andrei
as Walter
On 2013-12-11 12:44:29 +, Simen Kjærås said:
http://wiki.dlang.org/DIP52
Abstract:
Implicit conversion to and from other types are useful, and is to some
extent covered by existing language features. Some cases are currently
not covered, but could be worthy additions to the toolbox.
I'v
On 2013-12-10 18:35:37 +, bearophile said:
Andrei Alexandrescu:
Should we follow Scala's example and add it?
Making an Option a D Range means it becomes a Mondad :-) There's then a
need for more awareness of Option!T in map/filter/zip.
Related:
https://d.puremagic.com/issues/show_bug.
On 2013-12-10 17:28:26 +, Andrei Alexandrescu said:
I talked to a programmer who knows Scala (among others) and he
mentioned the usefulness of the Option type - a zero or one element
collection (range in D terminology). Here's an article discussing it:
http://danielwestheide.com/blog/2012/
On 2013-06-12 06:40:05 +, Manu said:
Personally, I think it's disappointing. x86's key advantage is being
able to run crappy desktop code fast.
Games are not usually 'crappy desktop code', they're carefully tuned,
purpose-specific code.
x86 uses MASSIVE amounts of its CPU realestate to toler
On 2013-06-04 19:19:56 +, Idan Arye said:
snip
C# used to behave the same as D behaves now, but in the latest update
to C# was changed to properly capture by value.
Closures should capture (and in most functional languages they do) by
value (at least primitive types) to avoid confusion.
On 2013-03-18 11:30:59 +, kraybit said:
On 3/16/13 07:29 , deadalnix wrote:
I think that one is really great. Phobos has a very typical shape, which
isn't used in the graphic. Maybe it should.
Tshirt mockup (Phobos somewhat closer to reality)
https://www.dropbox.com/s/jz9psoaq3zs9tq8/tshi
On 2013-02-03 13:18:03 +, John Colvin said:
On Sunday, 3 February 2013 at 09:23:01 UTC, timotheecour wrote:
snip
Very interesting! Anything that beats c performance is a very big plus for D.
Btw, you can replace the loop in S with
ret[] = a[];
Which should be even faster.
Also, to chec
On 2012-11-08 17:27:40 +, Tommi said:
..and it got me thinking, couldn't we just get rid of dynamic
polymorphism and classes altogether?
Compiler can do a lot of optimizations with knowledge about classes.
Also it automates a lot things that would become boilerplate with
proposed manual s
On 2012-03-17 20:14:47 +0300, Entity325 said:
Who's with me? Anybody have a short(but COMPLETE!) example of code
that makes use of Templates that you actually understand what's going
on there?
Philippe Sigaud made a very good tutorial on templates in D -
https://github.com/PhilippeSigaud/D-t
On 2012-01-03 18:48:13 +0300, Gour said:
On Tue, 03 Jan 2012 15:09:19 +0100
simendsjo wrote:
And Norway - Happy New Year!
Greetings from non-EU Croatia!
Sincerely,
Gour
And my AXE!
Greetings from Belarus!
On 2011-12-17 22:36:15 +0300, dsimcha said:
The time has come to vote on the inclusion of Jonas Drewsen's CURL
wrapper in Phobos.
Code: https://github.com/jcd/phobos/blob/curl-wrapper/etc/curl.d
Docs: http://freeze.steamwinter.com/D/web/phobos/etc_curl.html
For those of you on Windows, a li
On 2011-11-16 00:54:17 +0300, Walter Bright said:
On 11/15/2011 1:31 PM, Daniel Gibson wrote:
Scala is also termed a "multi-paradigm programming language", see
http://en.wikipedia.org/wiki/Scala_(programming_language)
Scala's multi-paradigms are OOP and functional.
Yet it doesn't support fun
On 2011-09-24 16:50:39 +0300, Manu said:
Is there an IRC channel, or anywhere for realtime D discussion?
There is a #d channel for general D discussions and #d.gdc for GDC
related themes on irc.freenode.org
On 2011-09-23 12:55:25 +0300, deadalnix said:
I recently faced a problem in java. I have lots of classes
inheriting from the same superclass. Thoses classes has to conform to
some behaviour expected when manipulation the superclass as Liskov
substitution principle says.
This is defin
Actually Scala doesn't need type declarations in labmda literals. Most
of the time argument types are infered. It would be awesome if D
infered argument types for labdas too.
Also Java 8 adopted the same lambda syntax as Scala and C#.
To add a few things to your list:
Nemerle
fun (x, y) { x
One the main reasons c# has mandatory out and ref at call site is code
versioning. If some function took an argument by value but was changed
to take if by reference, without annotations compiler would treat this
as an error, preventing a potential bug.
So this feature has to be either mandato
Several weeks ago Andrei mentioned at #d irc channel that he wanted to
implement next_permutation STL function in Phobos.
I thought that would be a nice excercize to implement it myself.
I ported implementation mentioned in this article:
http://marknelson.us/2002/03/01/next-permutation/
At fi
Found a blog post about purity and contracts relations in Eiffel
language. Thought that would be interesting for D comminity.
This post also mentions term "weak purity" that differs from what it
means in D.
http://bertrandmeyer.com/2011/07/04/if-im-not-pure-at-least-my-functions-are/
On 2011-07-05 08:31:46 +0300, Dmitry Olshansky said:
On 05.07.2011 1:10, bearophile wrote:
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even
currently impossible:
http://www.digitalmars.com/webne
On 2011-06-19 12:44:57 +0300, jdrewsen said:
Den 19-06-2011 11:12, Johannes Pfau skrev:
Jimmy Cao wrote:
Also, why the bool dummy argument in the Curl struct constructor?
I guess that's because structs can't have default constructors. Is
there a better solution to this problem?
That is wh
On 2011-06-13 06:21:47 +0300, Mehrdad said:
Yeah I was referring to something similar to what C# has (aside from
the lack of boxing).
On 6/12/2011 6:46 PM, Andrei Alexandrescu wrote:
On 6/12/11 8:28 PM, Jonathan M Davis wrote:
They aren't virtual. For an interface to work, it has to be virtu
[4] D Slices by Steve Schveighoffer
On 2011-06-03 08:44:36 +0300, Monkol said:
is any IDE specially for D in process development now?
You can find a list of IDE with D support at
http://prowiki.org/wiki4d/wiki.cgi?EditorSupport#IDEs
On 2011-05-06 00:54:34 +0300, Cristi Cobzarenco said:
Currying is well established name as well, especially for people coming
from a functional programming background.
Current implementation does not curry the function, it partialy applies it.
Currying is converting a function that takes mult
On 2011-04-26 10:39:41 +0300, Jacob Carlborg said:
On 2011-04-26 00:03, Andrei Alexandrescu wrote:
Hello,
It is my great pleasure to announce that the GSoC 2011 selection process
has turned favorably for us. Cristi Cobzarenco, David Nadlinger, and
Dmitry Olshansky have been selected to occupy
On 2011-04-07 22:32:42 +0300, Fawzi Mohamed said:
During a google summer of code project you are supposed to produce your
own code.
I also wasn't sure about the exact licensing needs, but as this is
relevant for a project I tried to clarify the situation.
As far as I understood if your code
On 2011-04-07 16:17:43 +0300, Torarin said:
2011/4/7 Jonas Drewsen :
On 07/04/11 00.32, Max Klyga wrote:
snip
Seems good to me. Some comments:
You mention that a reactor will probably be used for implementing the
proactor. On windows it really doesn't make sense to do this it
OK, I've absorbed enough informtion to transform my thoughts in the
second proposal draft.
I'll be posting it direcltly to GSoC website and correct it, if necessary.
Proposal is situated here:
http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/neku42/1
Comments
are welcome.
On 2011-04-06 02:30:44 +0300, Torarin said:
2011/4/4 Max Klyga :
Thanks to everyone who provided feedback!
I'll post my proposal update tomorrow.
I'm looking forward to it too! I've done a fair amount of research on
these topics and given networking in D a lot of thought.
Jonas, thanks for your valuable feedback.
You've expressed interest in mentoring a networking a networking
project and since I couldn't find any other way to contact you
directly, I'll post my message here.
As was discussed later, your work on curl supersedes my future effort
on network clie
Thanks to everyone who provided feedback!
I'll post my proposal update tomorrow.
Since my proposal theme shifted a little towards asyncronicity, I've
been eagerly consuming information that might help me with this.
I would be glad to know if I am moving in to the right direction.
Comments are welcome.
So far, here is the status report:
I looked at approaches to asyncronic
On 2011-04-01 01:45:54 +0300, Jonas Drewsen said:
On 31/03/11 23.20, Max Klyga wrote:
On 2011-03-31 22:35:43 +0300, Jonas Drewsen said:
On 31/03/11 18.26, Andrei Alexandrescu wrote:
snip
I believe that we would need both the threaded async IO that you
describe but also a select based one
On 2011-03-31 22:35:43 +0300, Jonas Drewsen said:
On 31/03/11 18.26, Andrei Alexandrescu wrote:
snip
I believe that we would need both the threaded async IO that you
describe but also a select based one. The thread based is important
e.g. in order to keep buffering incoming data while proce
On 2011-03-31 19:26:45 +0300, Andrei Alexandrescu said:
On 3/31/11 6:35 AM, Max Klyga wrote:
snip
I think that would be a good contribution that would complement Jonas'.
You'll need to discuss cooperation with him and at best Jonas would
agree to become a mentor.
Jonas agreed t
I've been thinking on things I can change in my GSoC proposal to make
it stronger and noticed that currently Phobos does not address
asynchronous I/O of any kind.
A number of threads on thid newsgroup mentioned about this problem or
shown ways other languages address asynchronicity.
I want t
I read your "Curl RFC" thread, great job. Somehow I missed it when it
was originaly posted.
As you stated earlier, you plan to continue working on your curl
wrapper, so to boost my proposal usefullness I think it needs to
address unsolved problems.
Could you please be more specific about you
network-enabled applications.
About me
I'm Max Klyga. I am an undergraduate software engineering student at
Belarusian State
University of Informatics and Radioelectronics (Minsk, Belarus).
I'm mainly interested in system programming and after using C++ for
some time I found
D and fell in
Hi, there.
Amazon is a good place to buy books. I had no problems with delivery from US
Amazon so far.
58 matches
Mail list logo