Re: A ready to use Vulkan triangle example for D

2016-05-30 Thread maik klein via Digitalmars-d-announce
On Monday, 30 May 2016 at 11:30:24 UTC, Manuel König wrote: On Fri, 27 May 2016 18:40:24 +, maik klein wrote: [...] Nice, runs without errors for me. I have a triangle example project too, but weird stuff happens when I resize my window. I see your window has fixed size, maybe I have

Re: A ready to use Vulkan triangle example for D

2016-05-28 Thread maik klein via Digitalmars-d-announce
On Sunday, 29 May 2016 at 00:37:54 UTC, Alex Parrill wrote: On Saturday, 28 May 2016 at 19:32:58 UTC, maik klein wrote: Btw does this even work? I think the struct initializers have to be Foo foo = { someVar: 1 }; `:` instead of a `=` I didn't do this because I actually got autocompletion

Re: A ready to use Vulkan triangle example for D

2016-05-28 Thread maik klein via Digitalmars-d-announce
On Saturday, 28 May 2016 at 17:50:30 UTC, Alex Parrill wrote: On Saturday, 28 May 2016 at 10:58:05 UTC, maik klein wrote: derelict-vulcan only works on windows, dvulkan doesn't have the platform dependend surface extensions for xlib, xcb, w32 and wayland. Without them Vulkan is unusable for

Re: A ready to use Vulkan triangle example for D

2016-05-28 Thread maik klein via Digitalmars-d-announce
On Saturday, 28 May 2016 at 03:02:23 UTC, WhatMeWorry wrote: On Friday, 27 May 2016 at 18:40:24 UTC, maik klein wrote: https://github.com/MaikKlein/VulkanTriangleD Another dependency is ErupteD which I have forked myself because there is currently an issue with xlib-d and xcb-d with

A ready to use Vulkan triangle example for D

2016-05-27 Thread maik klein via Digitalmars-d-announce
https://github.com/MaikKlein/VulkanTriangleD Currently only Linux is supported but it should be fairly easy to also add Windows support. Only the surface extensions have to be changed. The example requires Vulkan ready hardware + driver + LunarG sdk with validation layer + sdl2. Another

Re: Battle-plan for CTFE

2016-05-11 Thread maik klein via Digitalmars-d-announce
On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote: Hi Guys, I have been looking into the DMD now to see what I can do about CTFE. Unfortunately It is a pretty big mess to untangle. Code responsible for CTFE is in at least 3 files. [dinterpret.d, ctfeexpr.d, constfold.d] I was shocked

Re: C#7 features

2016-05-09 Thread maik klein via Digitalmars-d-announce
On Monday, 9 May 2016 at 13:09:24 UTC, Jacob Carlborg wrote: On 2016-05-09 14:46, John wrote: C# 7's tuples are something different though. They don't even map to System.Tuple. The syntax is: (int x, int y) GetPoint() { return (500, 400); } var p = GetPoint();

Re: [Blog post] Why and when you should use SoA

2016-03-27 Thread maik klein via Digitalmars-d-announce
On Sunday, 27 March 2016 at 16:18:18 UTC, ZombineDev wrote: On Saturday, 26 March 2016 at 20:55:17 UTC, maik klein wrote: [snip] Thanks, yes that is simpler. But I am not sure that I want to have pluggable containers in SOA, mostly because every field would have overhead from the container.

Re: futures and related asynchronous combinators

2016-03-27 Thread maik klein via Digitalmars-d-announce
On Sunday, 27 March 2016 at 07:16:53 UTC, Vlad Levenfeld wrote: https://github.com/evenex/future/ I've been having to do a lot of complicated async work lately (sometimes multithreaded, sometimes not), and I decided to abstract a some patterns out and unify them with a little bit of

Re: [Blog post] Why and when you should use SoA

2016-03-26 Thread maik klein via Digitalmars-d-announce
On Sunday, 27 March 2016 at 02:20:09 UTC, Alex Parrill wrote: Also I forgot to mention: Your "Isn’t SoA premature optimization?" section is a textbook YAGNI violation. I might have to refactor my web app to support running across multiple servers and internationalization when it becomes the

Re: [Blog post] Why and when you should use SoA

2016-03-26 Thread maik klein via Digitalmars-d-announce
On Sunday, 27 March 2016 at 01:39:44 UTC, Simen Kjaeraas wrote: On Friday, 25 March 2016 at 01:07:16 UTC, maik klein wrote: Link to the blog post: https://maikklein.github.io/post/soa-d/ Link to the reddit discussion:

Re: [Blog post] Why and when you should use SoA

2016-03-26 Thread maik klein via Digitalmars-d-announce
On Saturday, 26 March 2016 at 23:31:23 UTC, Alex Parrill wrote: On Friday, 25 March 2016 at 01:07:16 UTC, maik klein wrote: Link to the blog post: https://maikklein.github.io/post/soa-d/ Link to the reddit discussion:

[Blog post] Why and when you should use SoA

2016-03-24 Thread maik klein via Digitalmars-d-announce
Link to the blog post: https://maikklein.github.io/post/soa-d/ Link to the reddit discussion: https://www.reddit.com/r/programming/comments/4buivf/why_and_when_you_should_use_soa/

Metaprogramming with type objects in D

2016-02-29 Thread maik klein via Digitalmars-d-announce
Discussion: https://www.reddit.com/r/programming/comments/48dssq/metaprogramming_with_type_objects_in_d/ Direct link: https://maikklein.github.io/2016/03/01/metaprogramming-typeobject/

Re: Vision for the first semester of 2016

2016-01-25 Thread maik klein via Digitalmars-d-announce
On Monday, 25 January 2016 at 13:08:18 UTC, Rory McGuire wrote: On Mon, Jan 25, 2016 at 2:46 PM, Andrei Alexandrescu via Digitalmars-d-announce wrote: On 01/25/2016 04:17 AM, Rory McGuire via Digitalmars-d-announce wrote: Looking at the way we have

Re: GDC Explorer Site Update

2016-01-25 Thread maik klein via Digitalmars-d-announce
On Monday, 25 January 2016 at 23:08:32 UTC, Iain Buclaw wrote: Hi, After a much needed rebuild of the server running various GDC-related hosted services [http://forum.dlang.org/post/zrnqcfhvyhlfjajtq...@forum.dlang.org] - I've gotten round to updating the compiler disassembler.