On Tuesday, 25 April 2017 at 20:20:08 UTC, jmh530 wrote:
On Monday, 24 April 2017 at 21:59:34 UTC, Atila Neves wrote:
Enter the `@Dispose` UDA:
I found this really interesting.
Am I understanding the process correctly: apply map to numbers,
allocate and return a new array in D, copy it to
On Tuesday, 25 April 2017 at 22:21:33 UTC, Ali Çehreli wrote:
On 04/25/2017 01:20 PM, jmh530 wrote:
> [...]
numbers, allocate
> [...]
to free the
> [...]
Yes.
> [...]
freed by D
> [...]
Correct.
> [...]
of just the
> [...]
C++ smart
> [...]
totally grok it
> [...]
Just by guessing, what we d
On Tuesday, 25 April 2017 at 22:21:33 UTC, Ali Çehreli wrote:
Just by guessing, what we don't see here is that there is a
wrapping layer that does the copying. Disposal logic is called
by that layer. So, your scope(exit) takes place at a higher
layer. Here is made-up-pseudo-code by me. :)
T
On 04/25/2017 01:20 PM, jmh530 wrote:
> On Monday, 24 April 2017 at 21:59:34 UTC, Atila Neves wrote:
>>
>> Enter the `@Dispose` UDA:
>>
>
> I found this really interesting.
>
> Am I understanding the process correctly: apply map to numbers, allocate
> and return a new array in D, copy it to Excel,
On Monday, 24 April 2017 at 21:59:34 UTC, Atila Neves wrote:
Enter the `@Dispose` UDA:
I found this really interesting.
Am I understanding the process correctly: apply map to numbers,
allocate and return a new array in D, copy it to Excel, call
dispose to free the D memory.
So if you ins
C++ example for XLW:
LPXLFOPER EXCEL_EXPORT xlStats(LPXLFOPER inTargetRange) {
EXCEL_BEGIN;
XlfOper xlTargetRange(inTargetRange);
// Temporary variables.
double averageTmp = 0.0;
double varianceTmp = 0.0;
// Iterate over the cells in the incoming
On Monday, 24 April 2017 at 21:59:34 UTC, Atila Neves wrote:
Now with more `@nogc`. Before, this worked fine:
double func(double d) @nogc nothrow { return d * 2; }
The function is `@nogc`, the wrapper function (i.e. the
function that Excel actually calls) is also `@nogc` via the
magic of comp
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL loaded by Excel) so no boilerplate is necessary. Not
even `D
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL loaded by Excel) so no boilerplate is necessary. Not
even `D
On Wednesday, 22 March 2017 at 02:30:50 UTC, Saurabh Das wrote:
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It
uses compile-time reflection to register the user's code in an
XLL (a
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL loaded by Excel) so no boilerplate is necessary. Not
even `D
On Tuesday, 21 March 2017 at 13:59:56 UTC, Jacob Carlborg wrote:
It's cool that this is possible to do in D, but I feel sorry
for anyone that has a reason :)
In my discussions with people doing real world data analysis,
making decisions in meetings, by email, and such, spreadsheets
are an i
On Tuesday, 21 March 2017 at 13:59:56 UTC, Jacob Carlborg wrote:
On 2017-03-20 21:09, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL
loaded by Excel)
On 2017-03-20 21:09, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL (a DLL
loaded by Excel) so no boilerplate is necessary. Not even `DllMain`! It
works like t
On Tuesday, 21 March 2017 at 01:12:45 UTC, Laeeth Isharc wrote:
On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer
wrote:
On 3/20/17 4:09 PM, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It
uses
compile-time ref
On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer
wrote:
On 3/20/17 4:09 PM, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL
loaded by Ex
On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer
wrote:
On 3/20/17 4:09 PM, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL
loaded by Ex
On Monday, 20 March 2017 at 20:32:20 UTC, Stefan Koch wrote:
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It
uses compile-time reflection to register the user's code in an
XLL (a DLL
On Tuesday, 21 March 2017 at 00:25:46 UTC, Steven Schveighoffer
wrote:
On 3/20/17 4:09 PM, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL
loaded by Ex
On 3/20/17 4:09 PM, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL (a DLL
loaded by Excel) so no boilerplate is necessary. Not even `DllMain`! It
works like th
On Monday, 20 March 2017 at 20:09:58 UTC, Atila Neves wrote:
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL
(a DLL loaded by Excel) so no boilerplate is necessary. Not
even `D
http://code.dlang.org/packages/excel-d
This dub package allows D code to be called from Excel. It uses
compile-time reflection to register the user's code in an XLL (a
DLL loaded by Excel) so no boilerplate is necessary. Not even
`DllMain`! It works like this:
main.d:
import xlld;
mixin(wra
22 matches
Mail list logo