Re: D vs C++11

2012-11-03 Thread Kiith-Sa
On Saturday, 3 November 2012 at 12:46:18 UTC, Erèbe wrote: To be fair though, asking "C++ vs D" on a D newsgroup is clearly going to be tilted more towards the D end ;) But yea, personally, I feel that C++11 is merely playing "catch up", and doing so on a broken leg. I didn't expect that much

Re: Smart pointers instead of GC?

2012-12-31 Thread Kiith-Sa
I think you're overthinking this way too much. I'm writing a game engine, where latency is much more important than in your case. Even 10ms would translate to visible jitter. GC's not an issue, and disabling it permanently is very counterproductive _unless_ you've exhausted all other options (whi

Re: compact library for creating window + OpenGL context + input handling?

2012-01-08 Thread Kiith-Sa
Trass3r wrote: > (other than SDL) > > Basically something like the SFML Window module, but written in D and > working on Windoze/Linux. GLFW, if all you need is OpenGL (heck, even GLUT maybe). Is there any reason, though? SDL is not dead anymore, and its API is being rewritten with 1.3 (aka SD

Re: Discussion about D at a C++ forum

2012-01-09 Thread Kiith-Sa
Jonathan M Davis wrote: > On Monday, January 09, 2012 00:51:57 Mehrdad wrote: >> On 1/8/2012 7:09 PM, Vladimir Panteleev wrote: >> > On Sunday, 8 January 2012 at 23:28:57 UTC, Mehrdad wrote: >> >> 7. Unstable language. They're currently considering doing things like >> >> removing "delete" as it's

Re: Biggest Issue with D - Definition and Versioning

2012-01-15 Thread Kiith-Sa
I'm interested in game development using D, so I'll post my opinion. I think the discussions here show how particularly specialized people here are. I've seen some Manu's posts and it was clear that he is a person in gamedev who thinks most development is like gamedev and can't see the bigger pict

Re: Biggest Issue with D - Definition and Versioning

2012-01-16 Thread Kiith-Sa
A: 1 - I think we're getting close to that point. I do encounter compiler bugs from time to time, but the frequency is rapidly decreasing with the recent releases. We already have the "Easier to code" and "Decent performance" parts, but there's a lot of room to improve (standard build system, pac

Re: Biggest Issue with D - Definition and Versioning

2012-01-16 Thread Kiith-Sa
Walter Bright wrote: > On 1/16/2012 1:02 PM, Kiith-Sa wrote: >> Also, some of the indie PC developers might be more likely >> to try out D than the AAA industry - if we get some decent basic libraries. > > Keep in mind that D can directly access any C library. > &g

Re: SIMD support...

2012-01-16 Thread Kiith-Sa
David wrote: > Am 16.01.2012 03:54, schrieb JoeCoder: >> On 1/15/2012 1:42 PM, Walter Bright wrote: >>> >>> A nice vector math library for D that puts us competitive will be a nice >>> addition to Phobos. >> >> The gl3n library might be something good to build on: >> https://bitbucket.org/dav1d/gl

Re: Biggest Issue with D - Definition and Versioning

2012-01-17 Thread Kiith-Sa
Jacob Carlborg wrote: > On 2012-01-16 22:02, Kiith-Sa wrote: >> A: >> 1 - >> I think we're getting close to that point. I do encounter compiler bugs >> from time to time, but the frequency is rapidly decreasing with the recent >> releases. We already

Re: D1, D2 and the future of libraries

2012-01-21 Thread Kiith-Sa
I'm only supporting D2. D1 support would require more effort that can be better used to add more features and create more libraries. New D users are unlikely to try D1 since D2 is now rather stable, and even if the do, they won't stay there for long. I myself started using D with D1 about 1,5

Re: Message-Passing

2012-01-21 Thread Kiith-Sa
Erlang being uncommon doesn't mean it doesn't have awesome features. Java (or COBOL :p) are common, that doesn't mean we should copy them just to make it easier for Java users to move to D. OT, but this always pisses me off: I use Vim. On Linux. Vim not being an IDE doesn't mean it doesn't ha

Re: D1, D2 and the future of libraries

2012-01-22 Thread Kiith-Sa
I had a small, ~10kloc project I had to rewrite to D2 (not a library). It wasn't much of a problem to port. First I just tried to compile the code with DMD2 - there were compiler errors, so I fixed those - that took about 1-2 days. More problematic were things that work differently in D2 - the

Re: Do we need Win95/98/Me support?

2012-01-23 Thread Kiith-Sa
On Monday, 23 January 2012 at 11:42:16 UTC, Kagamin wrote: On Monday, 23 January 2012 at 11:15:02 UTC, Nick Sabalausky wrote: Those are "newbie" Linuxes that, by default, use GUIs[1] which are known to be insanely bloated. Huh? More bloated than Aero? Yea, stuff that isn't 100%-OSS can be a P

Re: Do we need Win95/98/Me support?

2012-01-23 Thread Kiith-Sa
Disable akonadi: alt+f2, start typing akonadi, akonadi configuration menu will appear, click it, go to akonadi server configuration tab, press stop at the bottom right. Also uncheck Use internal MYsQL server. Notification will show that akonadi has been stopped. Disable Semantic Desktop: 1)

Re: Do we need Win95/98/Me support?

2012-01-23 Thread Kiith-Sa
Dunno, Driver manager (or something like that) showed me an empty list saying I don't have proprietary drivers installed. Don't know how to find prepackaged drivers. Missed it in both Mint and Ubuntu. Well, the complicated thing is that my notebook is new and it has latest hardware: support f

Re: Has Tomasz's (h3r3tic's) OpenGL font rendering code been ported to D2?

2012-03-11 Thread Kiith-Sa
links help with rendering text in OpenGL? I have some code based on that tutorial in https://github.com/kiith-sa/ICE, but beware that it's not the most effective code and not particularly readable either. However, I abstracted it away it to pack any textures instead of just font glyphs, a

Re: Has Tomasz's (h3r3tic's) OpenGL font rendering code been ported to D2?

2012-03-12 Thread Kiith-Sa
On Sunday, 11 March 2012 at 22:39:46 UTC, Chad J wrote: On 03/11/2012 04:24 AM, Kiith-Sa wrote: Thanks for the link! I don't have time to go over it right now, but that looks promising. I took a shot at porting Tomasz's code a while ago, but I never got it to compile. At least

GSoC: interested in participating

2012-03-24 Thread Kiith-Sa
ary for D (https://github.com/kiith-sa/D-YAML)). That said, I don't think I have required knowledge to handle any of the projects at http://prowiki.org/wiki4d/wiki.cgi?GSOC_2012_Ideas . At previous year's GSoC ideas page (http://prowiki.org/wiki4d/wiki.cgi?GSOC_2011_Ideas), I found t

Re: drop html docs from the dmd distribution?

2013-02-03 Thread Kiith-Sa
On Sunday, 3 February 2013 at 23:58:39 UTC, Walter Bright wrote: They seem rather pointless, considering: 1. them being on the web is better anyway 2. the new pdf version of the spec I use the included HTML docs when I have no internet access (e.g. in train, which is 2hr/day for me).

Re: What library functionality would you most like to see in D?

2012-05-10 Thread Kiith-Sa
gl3n would be a good candidate for a standard vector/matrix library, the big feature missing is intrinsics support (aka SSE,AltiVec,VMX and Neon vector operations) Again, there's a confusion between game-oriented and science-oriented linear algebra library. gl3n is game oriented. I would li

Re: deprecating std.stream, std.cstream, std.socketstream

2012-05-13 Thread Kiith-Sa
On Sunday, 13 May 2012 at 21:39:07 UTC, Walter Bright wrote: This discussion started in the thread "Getting the const-correctness of Object sorted once and for all", but it deserved its own thread. These modules suffer from the following problems: 1. poor documentation, dearth of examples & r

Re: A possible suggestion for the Foreach loop

2013-08-21 Thread Kiith-Sa
On Wednesday, 21 August 2013 at 10:40:10 UTC, monarch_dodra wrote: On Wednesday, 21 August 2013 at 02:46:06 UTC, Dylan Knutson wrote: Hello, I'd like to open up discussion regarding allowing foreach loops which iterate over a tuple of types to exist outside of function bodies. I think this wo

Re: Replacing std.xml

2013-08-29 Thread Kiith-Sa
YAML is a super set of JSON, not the other way around. But yes, I would like to have YAML support as well. Yes of course, you are right. I found this on the internet. Seems to be abandoned. https://github.com/kiith-sa/D-YAML It's not really abandoned, I keep updating it with compatibi

Re: [OT] Which IDE / Editor do you use?

2013-09-13 Thread Kiith-Sa
On Friday, 13 September 2013 at 19:48:18 UTC, Namespace wrote: Just out of interest. I use Sublime 2, Notepad++ and as IDE currently Mono-D. But I will try this evening VisualD. gvim, with no GUI elements, ultisnips for D snippets, YouCompleteMe for fuzzy completion, and soon DCD for D-aware

Re: Can we please kill the hyphenator already?

2013-09-29 Thread Kiith-Sa
On Sunday, 29 September 2013 at 22:00:02 UTC, Andrej Mitrovic wrote: We're literally having new people coming in to IRC every day saying they can't read the D documentation because of hyphenator completely blocking the website (before the browser forces it to stop loading). If Andrei still wa

Re: The "no gc" crowd

2013-10-08 Thread Kiith-Sa
On Wednesday, 9 October 2013 at 03:46:20 UTC, Walter Bright wrote: On 10/8/2013 8:38 PM, Andrei Alexandrescu wrote: Only Levenshtein distance produces garbage in std.algorithm. Perhaps the documentation should reflect that: http://dlang.org/phobos/std_algorithm.html#levenshteinDistance I th

Re: Book recommendation

2013-10-14 Thread Kiith-Sa
On Monday, 14 October 2013 at 21:12:57 UTC, alex wrote: Thanks for the link John! On Monday, 14 October 2013 at 21:09:32 UTC, Adam Wilson wrote: That is actually incorrect. Tango was a replacement for the Phobos Standard Library in D1 to expand on the thin capabilities of the library at the

Re: State of OpenGL bindings

2013-11-04 Thread Kiith-Sa
I never felt Derelict wasn't "up to date". Also, it provides you with bindings to other essential libraries (e.g. SDL2, SFML, OpenAL, Assimp, etc.). And it's been actively maintained since forever, unlikely to die in the forseeable future.

Re: Ideal D GUI Toolkit

2013-05-20 Thread Kiith-Sa
=Tutorials.TextRendering1 But the link is dead. Most h3r3tic links are dead, not even archive.org has them. I have code based in that tutorial in my current project: https://github.com/kiith-sa/awesome2D See the font subdirectory and demo/texturepacker.d (Note that the package/module structure is badly

Re: Ideal D GUI Toolkit

2013-05-20 Thread Kiith-Sa
On Tuesday, 21 May 2013 at 00:05:21 UTC, Diggory wrote: On Monday, 20 May 2013 at 23:40:34 UTC, Andrej Mitrovic wrote: On 5/21/13, Adam Wilson wrote: Sub-pixel font hinting. Almost no games use this, and almost every OS toolkit does. There used to be a nice article about font rendering in O

Re: Ideal D GUI Toolkit

2013-05-21 Thread Kiith-Sa
On Tuesday, 21 May 2013 at 11:06:44 UTC, Andrej Mitrovic wrote: On 5/21/13, Adam Wilson wrote: Well, it comes down to how you want to render. My preferred solution woulbd be a rendering thread running all the time doing nothing but the GPU leg-work Why a GPU? Aren't most GUIs static? And ar

Re: D on next-gen consoles and for game development

2013-05-23 Thread Kiith-Sa
On Thursday, 23 May 2013 at 18:13:17 UTC, Brad Anderson wrote: While there hasn't been anything official, I think it's a safe bet to say that D is being used for a major title, Remedy's Quantum Break, featured prominently during the announcement of Xbox One. Quantum Break doesn't come out until

Re: D stability testing framework

2013-05-23 Thread Kiith-Sa
e it in pretty much every project I start. It's somewhere around 10-20kLOC. https://github.com/kiith-sa/D-YAML Also, Derelict3 might be a good idea. Derelict has been actively maintained for pretty much most of D's history.

Re: New UTF-8 stride function

2013-05-26 Thread Kiith-Sa
WRT to the worse Linux64 case: I recommend infinite-cycling it and testing in perf top. (If you're on Ubuntu/derivative or maybe Debian, just type "perf top", it will tell you what package to install, and once installed, "perf top" again, while the benchmark is running) You'll get a precise

Re: New UTF-8 stride function

2013-05-26 Thread Kiith-Sa
You don't need any instrumentation for perf and can get similar output (even in real time). (Don't intend to start a profiler war, but recommend looking at perf before messings with DLLs and the like) (although perf is is Linux-only) I think the Windows version of AMD CodeAnalyst might have simi

Re: Why UTF-8/16 character encodings?

2013-05-26 Thread Kiith-Sa
You mean like http://en.wikipedia.org/wiki/Optimus_Maximus_keyboard ?

Re: Slow performance compared to C++, ideas?

2013-05-30 Thread Kiith-Sa
Profile. Don't even think of asking for help before profiling. Those bugs you fixed here would be trivial to detect with a profiler. GC-dependent stuff usually is (like array literals mentioned here) usually are. As for profiling of something like this, both gprof and DMD's builtin profiler

Re: memory allocation in dmd

2013-06-22 Thread Kiith-Sa
With valgrind; did you use massif? That would be the right tool to use instead of memcheck (the default tool).

Re: memory allocation in dmd

2013-06-24 Thread Kiith-Sa
On Monday, 24 June 2013 at 18:47:17 UTC, Martin Nowak wrote: On 06/23/2013 03:19 AM, Walter Bright wrote: On 6/22/2013 4:24 PM, Kiith-Sa wrote: With valgrind; did you use massif? That would be the right tool to use instead of memcheck (the default tool). I've never heard of massif.

Re: top time wasters in DMD, as reported by gprof - VS2010/VTune results

2013-06-25 Thread Kiith-Sa
On Tuesday, 25 June 2013 at 06:21:09 UTC, dennis luehring wrote: Am 25.06.2013 07:51, schrieb dennis luehring: Am 24.06.2013 18:15, schrieb Richard Webb: DMD built with DMC takes ~49 seconds to complete, but DMD build with VC2008 only takes ~12 seconds. (Need to get a proper VC build done to t

Re: SIMD on Windows

2013-06-29 Thread Kiith-Sa
See Manu's talk and google how to use it. If you don't know what you're doing you are unlikely to see performance improvements. I'm not even sure if you're benchmarking SIMD performance or function call overhead there.

Re: Aurora Graphics Library Initial Design Discussion

2014-01-19 Thread Kiith-Sa
On Sunday, 19 January 2014 at 03:38:30 UTC, Adam Wilson wrote: Hello Everyone, Based on the previous thread I think we have enough to start laying out the design and writing code for Aurora. The choice that I would like to clarify is that Aurora will be a retained mode API. I understand that

Re: Any interest in detailed GC traces

2014-07-12 Thread Kiith-Sa via Digitalmars-d
On Saturday, 12 July 2014 at 03:54:59 UTC, safety0ff wrote: I found this link on reddit: http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector and I was wondering if there was interest in having D's GC output detailed trace information. I was thinking perhaps collecting data

Re: D blog?

2014-07-15 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 15 July 2014 at 10:17:26 UTC, Joakim wrote: On Tuesday, 15 July 2014 at 00:41:12 UTC, Jesse Phillips wrote: On Monday, 14 July 2014 at 19:41:19 UTC, Joakim wrote: whereas I'm asking about having an official blog on dlang.org and how much interest there is from others to contribute t

Re: D blog?

2014-07-15 Thread Kiith-Sa via Digitalmars-d
Just noticed this: http://blog.octayn.net/blog/2014/06/30/this-week-in-rust-54/ This is precisely the kind of thing we need.

Re: Random points from a D n00b CTO

2014-07-16 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 16 July 2014 at 15:25:22 UTC, Vic wrote: On Wednesday, 16 July 2014 at 12:35:29 UTC, Bastiaan Veelo wrote: I am not sure why you think Qt makes memory management easier. QObjects are generally given a parent that destructs its children when it terminates, but that is merely a

Re: D blog?

2014-07-16 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 16 July 2014 at 14:21:26 UTC, Dicebot wrote: On Wednesday, 16 July 2014 at 01:34:58 UTC, Kiith-Sa wrote: Just noticed this: http://blog.octayn.net/blog/2014/06/30/this-week-in-rust-54/ This is precisely the kind of thing we need. Huge amount of non-interesting effort. There

Re: D blog?

2014-07-16 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 16 July 2014 at 16:04:32 UTC, Meta wrote: On Wednesday, 16 July 2014 at 14:21:26 UTC, Dicebot wrote: On Wednesday, 16 July 2014 at 01:34:58 UTC, Kiith-Sa wrote: Just noticed this: http://blog.octayn.net/blog/2014/06/30/this-week-in-rust-54/ This is precisely the kind of thing

Re: D blog?

2014-07-16 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 16 July 2014 at 19:00:42 UTC, Meta wrote: On Wednesday, 16 July 2014 at 17:00:16 UTC, Kiith-Sa wrote: On Wednesday, 16 July 2014 at 16:04:32 UTC, Meta wrote: On Wednesday, 16 July 2014 at 14:21:26 UTC, Dicebot wrote: On Wednesday, 16 July 2014 at 01:34:58 UTC, Kiith-Sa wrote

Re: GCs in the news

2014-07-17 Thread Kiith-Sa via Digitalmars-d
On Thursday, 17 July 2014 at 19:14:06 UTC, Right wrote: I'm rather fond of RAII, I find that I rarely every need shared semantics. I use a custom object model that allows for weak_ptrs to unique_ptrs which I think removes some cases where people might otherwise be inclined to use shared_ptr.

Re: [OT] Uploading DConf videos

2014-07-18 Thread Kiith-Sa via Digitalmars-d
On Saturday, 19 July 2014 at 00:31:33 UTC, Joakim wrote: On Friday, 18 July 2014 at 22:39:02 UTC, Andrei Alexandrescu wrote: On 7/18/14, 12:53 PM, Jacob Carlborg wrote: On 2014-07-18 17:44, Andrei Alexandrescu wrote: Somehow the same DConf videos are of better quality on archive.org than on

Re: [OT] Uploading DConf videos

2014-07-19 Thread Kiith-Sa via Digitalmars-d
On Saturday, 19 July 2014 at 03:39:55 UTC, Andrei Alexandrescu wrote: On 7/18/14, 6:15 PM, Kiith-Sa wrote: This. Vimeo is quite popular, quality shouldn't be a problem and people aren't going to wait for an hour like with archive.org. Awesome. Can you please volunteer to mirror al

Re: [OT] Uploading DConf videos

2014-07-19 Thread Kiith-Sa via Digitalmars-d
On Saturday, 19 July 2014 at 03:39:55 UTC, Andrei Alexandrescu wrote: On 7/18/14, 6:15 PM, Kiith-Sa wrote: This. Vimeo is quite popular, quality shouldn't be a problem and people aren't going to wait for an hour like with archive.org. Awesome. Can you please volunteer to mirror al

Re: [OT] Uploading DConf videos

2014-07-19 Thread Kiith-Sa via Digitalmars-d
... and I did try YouTube now just to see if the quality is really that bad. It isn't: http://i.imgur.com/Cu1tUQl.png That's about as good as the archive.org originals. I took this with YouTube resolution set to 1280x720 on a 1920x1080 monitor. I really think you are doing something wrong.

Re: [OT] Uploading DConf videos

2014-07-19 Thread Kiith-Sa via Digitalmars-d
On Saturday, 19 July 2014 at 22:42:40 UTC, Kiith-Sa wrote: ... and I did try YouTube now just to see if the quality is really that bad. It isn't: http://i.imgur.com/Cu1tUQl.png That's about as good as the archive.org originals. I took this with YouTube resolution set to 128

Re: Is there a native function to detect if file is UTF encoding?

2014-08-22 Thread Kiith-Sa via Digitalmars-d
for reference: https://github.com/kiith-sa/tinyendian/blob/master/source/tinyendian.d Note that you _can't_ reliably differentiate between UTF-8 and plain ASCII, because not all UTF-8 files start with a UTF-8 BOM. However, you can (relatively) quickly determine if a UTF-8/ASCII b

Re: Relaxing the definition of isSomeString and isNarrowString

2014-08-24 Thread Kiith-Sa via Digitalmars-d
On Sunday, 24 August 2014 at 12:49:30 UTC, Marc Schütz wrote: On Sunday, 24 August 2014 at 12:24:03 UTC, Andrei Alexandrescu wrote: To that end I'm working on RCString, an industrial-strength string type that's much like string, just reference counted and with configurable allocation. It's safe

Re: RFC: std.json sucessor

2014-08-25 Thread Kiith-Sa via Digitalmars-d
n use a fast path for them and only consider decoding after that)) See the countASCII() function in https://github.com/kiith-sa/D-YAML/blob/master/source/dyaml/reader.d However, this approach is useful only if you decode the whole buffer at once, not if you do something like foreach(dch

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 30 September 2014 at 21:19:44 UTC, Ethan wrote: On Tuesday, 30 September 2014 at 08:48:19 UTC, Szymon Gatner wrote: Considered how many games (and I don't mean indie anymore, but for example Blizzard's Heartstone) are now created in Unity which uses not only GC but runs in Mono I am

Re: RFC: moving forward with @nogc Phobos

2014-10-01 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 1 October 2014 at 17:53:43 UTC, H. S. Teoh via Digitalmars-d wrote: On Wed, Oct 01, 2014 at 02:51:08AM -0700, Andrei Alexandrescu via Digitalmars-d wrote: On 9/30/14, 11:06 AM, Dmitry Olshansky wrote: >29-Sep-2014 14:49, Andrei Alexandrescu пишет: >>auto setExtension(MemoryManageme

Re: GC behavior

2014-10-06 Thread Kiith-Sa via Digitalmars-d
ys of structs in the implementation. I'm working on something but it's not documented enough/API is butt-ugly/not nearly stable-enough yet: https://github.com/kiith-sa/tharsis-core Some people are working on other ECS's too, see code.dlang.org (some are very efficient, some are not...

Re: GC behavior

2014-10-06 Thread Kiith-Sa via Digitalmars-d
On Monday, 6 October 2014 at 17:46:34 UTC, Jonathan wrote: Kiith-Sa, thanks for the info! I started to check out your entity project and love how your incorporating threads and syncing new/old state. You did state that your cleaning up things, but my initial reaction is that entitymanager is

Re: std.json sucessor

2014-10-13 Thread Kiith-Sa via Digitalmars-d
On Monday, 13 October 2014 at 17:21:44 UTC, Sönke Ludwig wrote: Am 13.10.2014 16:36, schrieb Daniel Murphy: "Sönke Ludwig" wrote in message news:m1ge08$10ub$1...@digitalmars.com... Oh, I've read "both line and column into a single uint", because of "four words per token" - considering that "

Slides about profiling (on Linux)

2014-10-31 Thread Kiith-Sa via Digitalmars-d
I've been planning to write a blog post about profiling D on Linux for a while, and... while I still didn't get around to writing an actual post, I recently gave a talk/workshop about profiling/optimizing on Linux at local hackerspace. While it's aimed at the local C/C++ audience, a lot of it

Re: Optimization fun

2014-11-07 Thread Kiith-Sa via Digitalmars-d
On Saturday, 8 November 2014 at 01:53:33 UTC, H. S. Teoh via Digitalmars-d wrote: On Fri, Nov 07, 2014 at 05:31:44PM -0800, Walter Bright via Digitalmars-d wrote: On 11/7/2014 4:41 PM, H. S. Teoh via Digitalmars-d wrote: [...] >But speaking of which, I found dmd -profile's output in >trace.log

Re: Lost a new commercial user this week :(

2014-12-14 Thread Kiith-Sa via Digitalmars-d
On Sunday, 14 December 2014 at 19:40:16 UTC, Walter Bright wrote: On 12/14/2014 12:37 AM, Manu via Digitalmars-d wrote: There were a few contributing factors, but by far the most significant factor was the extremely poor Windows environment support and Visual Studio debugging experience. Thi

Questions at D reddit (benchmarks game, D worms)

2014-12-18 Thread Kiith-Sa via Digitalmars-d
Noticed 2 non-bot threads at Reddit (sorry for spam, but due to all D talk being here newcomers may get the impression of a dead community), maybe someone here is able to answer them? https://www.reddit.com/r/d_language/comments/2ppxya/is_there_any_interest_in_writing_algorithms_in_d/ https://

Re: What is the D plan's to become a used language?

2014-12-18 Thread Kiith-Sa via Digitalmars-d
On Friday, 19 December 2014 at 00:21:06 UTC, H. S. Teoh via Digitalmars-d wrote: On Thu, Dec 18, 2014 at 08:12:07PM +, Laeeth Isharc via Digitalmars-d wrote: [...] - better reference documentation. I don't believe I lack the ability generally to figure things out, but the dlang.org library

Re: Lost a new commercial user this week :(

2014-12-19 Thread Kiith-Sa via Digitalmars-d
On Friday, 19 December 2014 at 09:13:07 UTC, Walter Bright wrote: On 12/18/2014 2:24 AM, Manu via Digitalmars-d wrote: Docs need to have examples which are plain and obvious, and the language will be absorbed by osmosis. I agree. Can you point to specific cases that need an example? If it do

Re: Lost a new commercial user this week :(

2014-12-19 Thread Kiith-Sa via Digitalmars-d
On Friday, 19 December 2014 at 12:53:32 UTC, Tobias Pankrath wrote: On Friday, 19 December 2014 at 12:44:26 UTC, Kiith-Sa wrote: On Friday, 19 December 2014 at 09:13:07 UTC, Walter Bright wrote: On 12/18/2014 2:24 AM, Manu via Digitalmars-d wrote: Docs need to have examples which are plain and

Re: What's missing to make D2 feature complete?

2014-12-20 Thread Kiith-Sa via Digitalmars-d
On Saturday, 20 December 2014 at 17:40:06 UTC, Martin Nowak wrote: Just wondering what the general sentiment is. For me it's these 3 points. - tuple support (DIP32, maybe without pattern matching) - working import, protection and visibility rules (DIP22, 313, 314) - finishing non-GC memory ma

Re: Lost a new commercial user this week :(

2014-12-25 Thread Kiith-Sa via Digitalmars-d
Finally, contracts are overwhelming, and it's also a feature of D that nobody has seen before. When someone new to D encounters a contract in the docs, they no longer trust their ability to usefully interpret the documentation, and almost certainly become confused; nobody expects to see an '

Re: Worst Phobos documentation evar!

2014-12-28 Thread Kiith-Sa via Digitalmars-d
On Sunday, 28 December 2014 at 15:57:39 UTC, Ary Borenszweig wrote: On 12/27/14 10:00 PM, Walter Bright wrote: This is so bad there isn't even a direct link to it, it hides in shame. Just go here: http://dlang.org/phobos/std_encoding.html#.transcode and scroll up one entry. Here it is:

Re: Worst Phobos documentation evar!

2014-12-28 Thread Kiith-Sa via Digitalmars-d
On Sunday, 28 December 2014 at 16:44:05 UTC, Kiith-Sa wrote: On Sunday, 28 December 2014 at 15:57:39 UTC, Ary Borenszweig wrote: On 12/27/14 10:00 PM, Walter Bright wrote: This is so bad there isn't even a direct link to it, it hides in shame. Just go here: http://dlang.org/p

Re: Worst Phobos documentation evar!

2014-12-28 Thread Kiith-Sa via Digitalmars-d
That's a good idea. I propose rule #1: Under no circumstances will auto be allowed in any examples. The compiler should even reject files in which they appear. One of the most frustrating things is to read documentation with type T (completely uninformative) followed by an example with auto.

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Monday, 29 December 2014 at 19:47:50 UTC, Walter Bright wrote: On 12/29/2014 3:19 AM, Jacob Carlborg wrote: On 2014-12-29 06:39, Walter Bright wrote: Having used both Ddoc and Markdown, I seriously disagree with this. Take a look at the markdown source for DIP69. It's horrific. Do you mea

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
Great, width limit messed up the (first version of) the table. | Function Name | Description | | - |- | | #all | `all!"a > 0"([1, 2, 3, 4])` returns `true` | | #any | `any!"a > 0"([1, 2,

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
Yeah, now have a large table and have one line that's longer. *Read* my post. The rows don' have to be aligned. And as I mentioned, IF you have a special case, THEN it's time for macros. But it shouln't happen for basic things like bold, code, links, references, 90% of tables or lists. I sp

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Monday, 29 December 2014 at 23:56:47 UTC, Walter Bright wrote: On 12/29/2014 3:31 PM, Kiith-Sa wrote: because I need macros even for something as common as an inline code fragment. Markup, macro, same thing. Not to mention, if I include the full table lines, not just ~70 chars this

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 30 December 2014 at 01:35:57 UTC, Andrei Alexandrescu wrote: On 12/29/14 12:04 PM, Jacob Carlborg wrote: On 2014-12-29 20:48, Walter Bright wrote: I don't care much for hybrids, they are confusing and ugly. Markdown already support raw HTML. We could use Markdown but with Ddoc

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
As opposed to some other markup language. You're always going to have 20 such markup instances, one way or another. There's a big difference between the amount of visual noise between different instances. I'm using D for 5 years and when I still find DDoc laced with $(LI $(B bold) $(D code)) h

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 30 December 2014 at 01:57:20 UTC, Andrei Alexandrescu wrote: On 12/29/14 4:37 PM, Kiith-Sa wrote: Either way, I'm done with this argument, I expect it will take many more pissed-off users for this to change. I've seen little else than emotion and appeal to such in ma

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 30 December 2014 at 04:33:10 UTC, Andrei Alexandrescu wrote: On 12/29/14 6:50 PM, Kiith-Sa wrote: .. etc. You seem to not like your own proposals! -- Andrei I like them less than a markdown-DDoc combo. They (at least the first one) are still a way to make DDoc more readable

Re: Worst Phobos documentation evar!

2014-12-29 Thread Kiith-Sa via Digitalmars-d
On Tuesday, 30 December 2014 at 04:34:30 UTC, Andrei Alexandrescu wrote: On 12/29/14 7:20 PM, Kiith-Sa wrote: On Tuesday, 30 December 2014 at 01:57:20 UTC, Andrei Alexandrescu wrote: On 12/29/14 4:37 PM, Kiith-Sa wrote: Either way, I'm done with this argument, I expect it will take many

Re: Worst Phobos documentation evar!

2014-12-30 Thread Kiith-Sa via Digitalmars-d
About that user experience: http://forum.dlang.org/post/nyclgpfzpkzemgitf...@forum.dlang.org

Re: Worst Phobos documentation evar!

2014-12-30 Thread Kiith-Sa via Digitalmars-d
And here's that modified documentation generator with Markdown support (won't help anyone trying to contribute to Phobos, but maybe other projects): http://forum.dlang.org/thread/itizuviesrhfaijyi...@forum.dlang.org

Idea/request: If you have a DUB project, add a code.dlang.org badge to README

2014-12-30 Thread Kiith-Sa via Digitalmars-d
my project READMEs as a link pointing to code.dlang.org for example, see D:YAML README: https://github.com/kiith-sa/D-YAML You can do the same by either linking to or downloading the shield: https://img.shields.io/badge/listed%20at-code.dlang.org-red.png (used red... because mars) and putting the i

Re: Worst Phobos documentation evar!

2014-12-31 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 31 December 2014 at 19:11:27 UTC, Walter Bright wrote: On 12/31/2014 7:20 AM, Vladimir Panteleev wrote: On Monday, 29 December 2014 at 22:39:02 UTC, Walter Bright wrote: * reddit * github These both use Markdown. The syntax is the same, except for minor things, such as the han

Re: Worst Phobos documentation evar!

2014-12-31 Thread Kiith-Sa via Digitalmars-d
On Wednesday, 31 December 2014 at 20:05:43 UTC, Walter Bright wrote: On 12/31/2014 11:45 AM, Kiith-Sa wrote: It's NOT a different variant. It's a different LANGUAGE. That's like saying D is a variant of Pascal. It's not illegitimate to consider all { } languages as var

Re: Worst Phobos documentation evar!

2014-12-31 Thread Kiith-Sa via Digitalmars-d
he kind of article I write in my documentation (one of the first few, there will be about 10 more). It's in ReStructuredText, which again, is pretty much a more feature-rich Markdown. I couldn't do that with DDoc without an extremely unreadable source; now, with DDoc+Markdown (https:

Re: call for GC benchmarks

2015-01-05 Thread Kiith-Sa via Digitalmars-d
On Monday, 5 January 2015 at 14:52:36 UTC, Martin Nowak wrote: On 01/05/2015 11:26 AM, Benjamin Thaut wrote: If you are interrested I might be able to branch of a old revision and make it compile with the latest dmd again. I'm interested in realistically simulating your allocation patterns.

Re: Game development

2015-01-08 Thread Kiith-Sa via Digitalmars-d
On Thursday, 8 January 2015 at 16:53:46 UTC, Ras wrote: Hello, I want to write the game engine in C++ and write all the game logic and ai etc in D. How would i do this? Manu Evans has pretty much this, he's active on this newsgroup, maybe he can help you: https://github.com/TurkeyMan/fuji .

Re: 4x4

2015-01-08 Thread Kiith-Sa via Digitalmars-d
On Thursday, 8 January 2015 at 16:27:48 UTC, Andrei Alexandrescu wrote: On 1/8/15 8:19 AM, Johannes Pfau wrote: What kind of action would you expect? Renaming a name which has been used for two years now without complaints, simply because it looks bad in the new documentation? As we usually d

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread Kiith-Sa via Digitalmars-d
On Sunday, 11 January 2015 at 12:57:17 UTC, MattCoder wrote: On Sunday, 11 January 2015 at 06:56:02 UTC, thedeemon wrote: At this moment I only see some popularity comparisons Yes in fact they are talking more about popularity between both languages. and I think they're generally correct..

Re: ddox question

2015-01-11 Thread Kiith-Sa via Digitalmars-d
On Sunday, 11 January 2015 at 17:28:37 UTC, Andrei Alexandrescu wrote: On 1/11/15 3:03 AM, Mathias LANG wrote: On Saturday, 10 January 2015 at 17:23:24 UTC, Andrei Alexandrescu wrote: In the ddox-generated documentation the heading is e.g. "Module std.container". I wanted to style "std.containe

Re: core.stdc.* documentation

2015-01-11 Thread Kiith-Sa via Digitalmars-d
On Monday, 12 January 2015 at 00:29:49 UTC, Andrei Alexandrescu wrote: I just fixed documentation to generate docs for all symbols in core.stdc.complex. Looks unhelpful: http://erdani.com/d/library-prerelease/core/stdc/complex.html Any idea on how to make this better? Thanks, Andrei Links

Re: Thoughts on replacement languages (Reddit + D)

2015-01-11 Thread Kiith-Sa via Digitalmars-d
On Monday, 12 January 2015 at 00:33:52 UTC, Andrei Alexandrescu wrote: On 1/11/15 4:33 PM, MattCoder wrote: On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote: Perhaps its better to have a number (average or mean) than no number. Just ask 50 or 100 uers (or more) for their number of down

Re: css minification

2015-01-16 Thread Kiith-Sa via Digitalmars-d
I looked at the favicon, and... the file is .ico (bad format), stores 5 versions of the icon (16x16 to 64x64) even though only 16x16/32x32 are supported. Here are just the 16x16(383b) and 32x32(1.77kiB) versions, as PNGs (better compression than gif, and official standard - used RGBA, as 8-

Re: css minification

2015-01-16 Thread Kiith-Sa via Digitalmars-d
On Friday, 16 January 2015 at 21:39:52 UTC, Andrei Alexandrescu wrote: On 1/16/15 1:32 PM, Vladimir Panteleev wrote: On Friday, 16 January 2015 at 21:26:04 UTC, Andrei Alexandrescu wrote: Well good point. As of January two of the css files are in the top 3 most trafficked files off of dlang.org

Re: Please help me with improving dlang.org

2015-01-18 Thread Kiith-Sa via Digitalmars-d
On Sunday, 18 January 2015 at 07:44:24 UTC, Andrei Alexandrescu wrote: On 1/17/15 11:42 PM, DaveG wrote: On Sunday, 18 January 2015 at 04:44:56 UTC, Israel wrote: On Sunday, 18 January 2015 at 02:18:16 UTC, Andrei Alexandrescu wrote: I took the better part of today working on this: https://git

  1   2   >