[iOS Support Incoming] - AVAudioEngine bindings

2023-12-12 Thread Hipreme via Digitalmars-d-announce
Today, I've come to announce that bindings that works for both 
macOS and iOS have been done, which is soon to be integrated with 
[Hipreme Engine](http://github.com/MrcSnm/HipremeEngine)



Those bindings are on [AVAudioEngine Bindings 
Dub](https://code.dlang.org/packages/avaudioengine).


They depend on a new dependency I've also put on dub, which is a 
base for [Creating Objective-C 
Bindings](https://code.dlang.org/packages/objc_meta)


On the AVAudioEngine repository, there is a simple script I made 
with Javascript for converting partially an Objective-C file to 
D, which helped me assembling those bindings.


Re: Seattle Area D-Meetup

2023-12-12 Thread Adam Wilson via Digitalmars-d-announce

On Tuesday, 12 December 2023 at 17:52:12 UTC, Gregor Mückl wrote:

Hi!

I'm interested in joining this time. Looking forward to meeting 
you all!


I look forward to meeting you!


Re: Seattle Area D-Meetup

2023-12-12 Thread Gregor Mückl via Digitalmars-d-announce

On Sunday, 3 December 2023 at 23:21:57 UTC, Adam Wilson wrote:

Hello Everyone,

If you're going to be in the Seattle area over the holidays, 
Walter, Bruce C, and I will be hanging out at the Red Robin in 
Redmond on December 14th from 7PM until whenever they kick us 
out. Normally we would meet after NWCPP, but they are on a 
holiday break this month so we have the opportunity to rant and 
rage... I mean have collegial dialog with Walter for an 
extended period of time this month.


Address: 2390 148th Ave NE, Redmond, WA 98052


Hi!

I'm interested in joining this time. Looking forward to meeting 
you all!


Re: D Language Foundation October 2023 Quarterly Meeting Summary

2023-12-12 Thread Dukc via Digitalmars-d-announce

On Monday, 11 December 2023 at 19:55:38 UTC, Timon Gehr wrote:
There is the following trick. Not ideal since the length cannot 
be inferred, but this successfully injects alloca into the 
caller's scope.


Wow, what a great hack - I'd have never came up with that!


Re: D Language Foundation October 2023 Quarterly Meeting Summary

2023-12-12 Thread Bastiaan Veelo via Digitalmars-d-announce

On Monday, 11 December 2023 at 19:55:38 UTC, Timon Gehr wrote:

... this successfully injects alloca into the caller's scope.

```d
import core.stdc.stdlib:alloca;
import std.range:ElementType;
import core.lifetime:moveEmplace;

struct VLA(T,alias len){
T[] storage;
this(R)(R initializer,return void[] 
storage=alloca(len*T.sizeof)[0..len*T.sizeof]){

this.storage=cast(T[])storage;
foreach(ref element;this.storage){
assert(!initializer.empty);
auto init=initializer.front;
moveEmplace!T(init,element);
initializer.popFront();
}
}
ref T opIndex(size_t i)return{ return storage[i]; }
T[] opSlice()return{ return storage; }
}

auto vla(alias len,R)(R initializer,void[] 
storage=alloca(len*ElementType!R.sizeof)[0..len*ElementType!R.sizeof]){

return VLA!(ElementType!R,len)(initializer,storage);
}

void main(){
import std.stdio,std.string,std.conv,std.range;
int x=readln.strip.to!int;
writeln(vla!x(2.repeat(x))[]);
}
```


You guys are great!


Re: D Language Foundation October 2023 Quarterly Meeting Summary

2023-12-12 Thread Nicholas Wilson via Digitalmars-d-announce

On Monday, 11 December 2023 at 08:24:55 UTC, Bastiaan Veelo wrote:
On Sunday, 10 December 2023 at 22:59:06 UTC, Nicholas Wilson 
wrote:
Or you could use grep with `--output-ll` as noted by Johan 
https://github.com/ldc-developers/ldc/issues/4265#issuecomment-1376424944 although this will be with that `workaroundIssue1356` applied.


Thanks for highlighting this, as I must have forgotten. I 
should be able to create a CI job that checks this as part of 
the release. This will give us the confidence that we need.


I should note that regex will need some updating for the most 
recent LLVMs that have opaque pointers enabled:


`ptr byval\(%[a-zA-Z_][a-zA-Z0-9_\.]*\) align`