On 11/15/21 3:00 PM, pascal111 wrote:
> On Monday, 15 November 2021 at 22:44:35 UTC, Ali Çehreli wrote:
>> On 11/15/21 2:28 PM, pascal111 wrote:
>> > [...]
>> "throw" statement
>> > [...]
>>
>> Such a list is not very useful. Normally all we need is Exception and
>> occasionally one or two other s
I'm trying to use Adam's simpledisplay on a mac with XQuartz
which is installed + running. When I try to create a window, it
crashes when calling `XDisplayConnection.get()`. I'm just
building dub and have added `"arsd-official:simpledisplay"` as a
dependency. Before I installed XQuartz, it w
On Sunday, 14 November 2021 at 04:29:53 UTC, forkit wrote:
On Saturday, 13 November 2021 at 23:02:15 UTC, pascal111 wrote:
I touch that D is big language, it's not small like standard
C. This will cost me much studying, so I think I need slow
down and learn it step by step.
Yes. C is so muc
On Tuesday, 16 November 2021 at 00:05:45 UTC, Imperatorn wrote:
On Tuesday, 16 November 2021 at 00:03:14 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:55:55 UTC, pascal111 wrote:
On Monday, 15 November 2021 at 22:39:36 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:28:28 U
On Tuesday, 16 November 2021 at 00:03:14 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:55:55 UTC, pascal111 wrote:
On Monday, 15 November 2021 at 22:39:36 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:28:28 UTC, pascal111 wrote:
I want to know where the list of exceptions
On Monday, 15 November 2021 at 22:55:55 UTC, pascal111 wrote:
On Monday, 15 November 2021 at 22:39:36 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:28:28 UTC, pascal111 wrote:
I want to know where the list of exceptions names that
"throw" statement uses. I searched in dlang site, and
On Monday, 15 November 2021 at 22:44:35 UTC, Ali Çehreli wrote:
On 11/15/21 2:28 PM, pascal111 wrote:
> [...]
"throw" statement
> [...]
Such a list is not very useful. Normally all we need is
Exception and occasionally one or two other specific types.
[...]
What if I expect more than one ex
On Monday, 15 November 2021 at 22:39:36 UTC, Imperatorn wrote:
On Monday, 15 November 2021 at 22:28:28 UTC, pascal111 wrote:
I want to know where the list of exceptions names that "throw"
statement uses. I searched in dlang site, and google but
couldn't reach it.
Just so I understand, do you
On 11/15/21 2:33 PM, Imperatorn wrote:
On Monday, 15 November 2021 at 22:27:24 UTC, Ali Çehreli wrote:
On 11/15/21 1:58 PM, WebFreak001 wrote:
> [...]
wrote:
>> [...]
wrote:
>> [...]
the use of
>> [...]
variable `file`
> [...]
copying the
> [...]
a pointer.
I don't see how it solves the
On 11/15/21 2:28 PM, pascal111 wrote:
> I want to know where the list of exceptions names that "throw" statement
> uses.
Such a list is not very useful. Normally all we need is Exception and
occasionally one or two other specific types.
There can be hundreds of specific types of Exception a pr
On Monday, 15 November 2021 at 22:28:28 UTC, pascal111 wrote:
I want to know where the list of exceptions names that "throw"
statement uses. I searched in dlang site, and google but
couldn't reach it.
Just so I understand, do you mean a list similar to this?
https://www.completecsharptutorial.
On Monday, 15 November 2021 at 22:28:41 UTC, russhy wrote:
On Monday, 15 November 2021 at 21:16:14 UTC, Willem wrote:
Using D -- I have created a simple command line utility that
download some info via a https API and save it in a sqlite3
database file. To use the exe on another windows machine
On Monday, 15 November 2021 at 22:27:24 UTC, Ali Çehreli wrote:
On 11/15/21 1:58 PM, WebFreak001 wrote:
> [...]
wrote:
>> [...]
wrote:
>> [...]
the use of
>> [...]
variable `file`
> [...]
copying the
> [...]
a pointer.
I don't see how it solves the problem. Sebastiaan Koppe might
have in
I want to know where the list of exceptions names that "throw"
statement uses. I searched in dlang site, and google but couldn't
reach it.
On Monday, 15 November 2021 at 21:16:14 UTC, Willem wrote:
Using D -- I have created a simple command line utility that
download some info via a https API and save it in a sqlite3
database file. To use the exe on another windows machine, I
need to copy over the relevant sqlite3 and curl DLL fil
On 11/15/21 1:58 PM, WebFreak001 wrote:
> On Monday, 15 November 2021 at 19:24:56 UTC, Sebastiaan Koppe wrote:
>> On Monday, 15 November 2021 at 15:56:57 UTC, WebFreak001 wrote:
>>> is this currently possible or maybe possible with DIP1000?
>>
>> Yes it is. But besides `-dip1000` and `@safe`, it r
On Monday, 15 November 2021 at 19:24:56 UTC, Sebastiaan Koppe
wrote:
On Monday, 15 November 2021 at 15:56:57 UTC, WebFreak001 wrote:
is this currently possible or maybe possible with DIP1000?
Yes it is. But besides `-dip1000` and `@safe`, it requires the
use of a pointer:
```D
@safe:
struc
On Monday, 15 November 2021 at 19:24:56 UTC, Sebastiaan Koppe
wrote:
On Monday, 15 November 2021 at 15:56:57 UTC, WebFreak001 wrote:
is this currently possible or maybe possible with DIP1000?
Yes it is. But besides `-dip1000` and `@safe`, it requires the
use of a pointer:
```D
@safe:
struc
On Monday, 15 November 2021 at 21:16:14 UTC, Willem wrote:
Any feedback / pointers on where to start would be greatly
appreciated.
https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable
Using D -- I have created a simple command line utility that
download some info via a https API and save it in a sqlite3
database file. To use the exe on another windows machine, I need
to copy over the relevant sqlite3 and curl DLL files.
Question: Is there a way to create a single .exe with
On Monday, 15 November 2021 at 15:56:57 UTC, WebFreak001 wrote:
is this currently possible or maybe possible with DIP1000?
Yes it is. But besides `-dip1000` and `@safe`, it requires the
use of a pointer:
```D
@safe:
struct ByChunk {
FileReader* r;
void popFront() {}
}
struct FileRe
On Mon, Nov 15, 2021 at 03:56:57PM +, WebFreak001 via Digitalmars-d-learn
wrote:
> I have an API with some struct like a file reader. I want to add
> byChunks-like functionality to it, so I'm trying to implement it with
> a helper struct that implements opApply. I have disabled copying the
> f
On 11/15/21 10:56 AM, WebFreak001 wrote:
I have an API with some struct like a file reader. I want to add
byChunks-like functionality to it, so I'm trying to implement it with a
helper struct that implements opApply. I have disabled copying the file
reader struct because it cleans up the resour
I have an API with some struct like a file reader. I want to add
byChunks-like functionality to it, so I'm trying to implement it
with a helper struct that implements opApply. I have disabled
copying the file reader struct because it cleans up the resources
once it goes out of scope, however no
24 matches
Mail list logo