I'd like to use D for some visualisation in XR, but without
OpenXR, I'm stuck before I even start.
I have tried before to write the library bindings
(https://github.com/infinityplusb/OpenXR-D), but got stuck and
honestly don't know enough about what needs doing to fix it.
Apparently it is
Hello D Community --
I'm happy to announce that I have posted a preliminary LDC
package for review to OpenBSD:
https://marc.info/?l=openbsd-ports=163477542025020=2
With the already shipping GDC and DMD packages, all 3 D compilers
are now easily available to OpenBSD users.
~Brian
On Thursday, 14 October 2021 at 14:51:57 UTC, Jacob Carlborg
wrote:
On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote:
I don't think any of the free ones support OpenBSD yet :)
There is SourceHut, which does support OpenBSD CI, but I don't
think it is free to use.
You can use my
On Wednesday, 13 October 2021 at 07:43:49 UTC, jfondren wrote:
A fresh build of dub (with gdc) is still segfaulting, and looks
to be related to SDL:
```
$ dub -q init -n -f=json; dub -q run
Edit source/app.d to start your project.
$ rm -rf dub.{sdl,json} source
$ dub -q init -n -f=sdl; dub
On Wednesday, 13 October 2021 at 05:47:48 UTC, jfondren wrote:
On Wednesday, 13 October 2021 at 04:46:06 UTC, Brian wrote:
Hello D community --
I am pleased and excited to announce that I have committed a
package of DMD to the OpenBSD package repository:
On Wednesday, 13 October 2021 at 06:00:57 UTC, Brian wrote:
It does.
But you're going to have to further update your guide: I just
posted ports of dub and gdmd to ports@. Please test and report
back to ports@.
Also, does dub+gdmd actually work for you at runtime? I am
getting this issue:
Hello D community --
I am pleased and excited to announce that I have committed a
package of DMD to the OpenBSD package repository:
https://marc.info/?l=openbsd-ports-cvs=163409989017870=2
OpenBSD -current users should be able to run `pkg_add dmd`
sometime tomorrow to get a binary package
On Tuesday, 12 October 2021 at 12:02:42 UTC, Nicholas Wilson
wrote:
On Monday, 11 October 2021 at 15:07:59 UTC, Brian wrote:
Hi all --
I am in the process of getting a DMD package shipped in the
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on
the
Hi all --
I am in the process of getting a DMD package shipped in the
OpenBSD package repository.
If you are an OpenBSD user, please test and report back (on the
OpenBSD mailing list, please) how it went for you. The more users
test, the faster I can commit the package :)
~Brian
On Saturday, 25 September 2021 at 07:14:58 UTC, Iain Buclaw wrote:
**What is Beefconf?**
What is Beefconf, indeed. Are we getting an additional online
meetup this month? :)
~Brian
On Tuesday, 24 August 2021 at 02:19:58 UTC, rushsteve1 wrote:
https://github.com/rushsteve1/trash-d
A near drop-in replacement for `rm` that uses the Freedesktop
trash bin. Started because an acquaintance `rm -rf`'d his music
folder and I thought there had to be a better way.
It's pretty
On Wednesday, 16 June 2021 at 20:54:07 UTC, H. S. Teoh wrote:
On Wed, Jun 16, 2021 at 08:44:46PM +, Brian via
Digitalmars-d-learn wrote: [...]
struct item
{
string name;
int type;
};
[...]
new_item = { "item1", 1 };
The {...} initializer syntax is only
Hello all --
I have a question about assigning to structs.
I want to be able to create an array of structs that may contain
different contents depending on user input. I have reduced the
test case down.
The following fails to compile:
```d
import std.stdio;
struct item
{
string name;
On Tuesday, 8 June 2021 at 06:39:51 UTC, Walter Bright wrote:
https://twitter.com/hashtag/ImportC?src=hashtag_click
There are a couple ancient tweets there, just ignore them.
Nice car collection you've got there :)
~Brian
On Tuesday, 8 June 2021 at 19:10:41 UTC, Jacob Carlborg wrote:
# Cross-Platform GitHub Action
I would like to announce the first version of a project I've
been working on for a while. It's not anything D specific or
implemented in D, but it can be used with D projects. This
project provides
Thank you for your work. It has been a good experience so far
running gdc on OpenBSD.
On Saturday, 27 March 2021 at 14:53:52 UTC, Imperatorn wrote:
Yeah, the search is broken sadly. I made a PR about it some
time ago. Partial searches doesn't work
Good to know. Thank you.
Hello --
When I go to https://code.dlang.org and use the search function
on the top right corner, it usually works fine. However, there
was one package I knew I specifically wanted (png-d) but when I
typed png-d into the search bar, I was greeted with an error
page, reproduced at the bottom
On Monday, 22 March 2021 at 07:27:22 UTC, Iain Buclaw wrote:
I think it would be a fair attribute Kai and I for the 95% that
was enough to get ldc and gdc working respectively.
Sounds good to me!
On Sunday, 21 March 2021 at 23:56:15 UTC, Johan wrote:
Seeing that pledge/unveil are declared in unistd.d, your work
should probably land here:
https://github.com/dlang/druntime/blob/master/src/core/sys/posix/unistd.d#L2556
Yes, I think so. People who program on OpenBSD expect pledge and
On Sunday, 21 March 2021 at 22:41:36 UTC, Walter Bright wrote:
https://briancallahan.net/blog/20210320.html
https://news.ycombinator.com/item?id=26520996#26531423
https://reddit.com/r/programming/comments/m9xu8s/a_working_d_compiler_on_openbsd/
Thanks to Dr Brian Callahan!
I don't have an
On Sunday, 14 March 2021 at 20:57:39 UTC, Paul Backus wrote:
This is the error you get when you try to call a function that
has the same name as the current module. The best way to fix it
is to rename the module, but if you can't, you can use an alias
to disambiguate:
alias sort =
Hello --
Apologies if this is answered somewhere in the documentation.
I was trying out the sample code on the dlang.org home page.
When I got to the "Sort an Array at Compile-Time" example, I
saved it on my machine as sort.d. When I tried to build sort.d,
the compile failed. But when I
Thank you :)
On Thursday, 24 January 2019 at 21:17:24 UTC, viniarck wrote:
On Thursday, 17 January 2019 at 04:19:27 UTC, Brian wrote:
Google gRPC is A high performance, open-source universal RPC
framework.
[...]
Cool. Thanks for contributing. I look forward to using it in a
future project with
On Monday, 14 January 2019 at 20:21:25 UTC, Andrei Alexandrescu
wrote:
Of possible interest:
https://www.technotification.com/2019/01/most-underrated-programming-languages.html
Because no software can use it.
examples:
1. Docker use golang.
2. Middleware system use java.
3. Shell use python.
Google gRPC is A high performance, open-source universal RPC
framework.
You can find it here:
https://grpc.io/
hunt-grpc is a GRPC framework developed in D language. The new
version mainly supports two-way communication and fixes some
known errors.
Example for server:
```D
import
On Wednesday, 16 January 2019 at 15:04:55 UTC, bauss wrote:
On Wednesday, 16 January 2019 at 06:57:13 UTC, Brian wrote:
we found that the performance of vibed was not as good as that
of other programming languages.
Chances are you've used it wrong then.
To me at least it performs better
On Tuesday, 15 January 2019 at 16:25:04 UTC, WebFreak001 wrote:
On Tuesday, 15 January 2019 at 14:58:01 UTC, Brian wrote:
A refined core library for D programming language.
Core modules:
[...]
nice! Always cool seeing new frameworks for existing stuff. How
does this compare to vibe.d?
We
On Tuesday, 15 January 2019 at 16:12:24 UTC, Aldo wrote:
On Tuesday, 15 January 2019 at 14:58:01 UTC, Brian wrote:
A refined core library for D programming language.
Core modules:
[...]
Hello Brian,
thats a good lib, thanks for the work.
Thank you for supported :)
On Tuesday, 15 January 2019 at 18:57:55 UTC, Johannes Loher wrote:
On Tuesday, 15 January 2019 at 14:58:01 UTC, Brian wrote:
[...]
Thanks for the great work!
I had already been planning on playing around with hunt for a
bit. What has been holding me back until now is the fact that
part of
A refined core library for D programming language.
Core modules:
hunt.concurrency
hunt.collection
hunt.event
hunt.io
hunt.logging
hunt.text
hunt.util
Supported platforms:
FreeBSD
Windows
macOS
Linux
Example for hunt.io echo server:
```D
void
On Wednesday, 9 January 2019 at 14:12:06 UTC, Martin Tschierschke
wrote:
On Wednesday, 9 January 2019 at 11:34:07 UTC, Brian wrote:
Fix example code:
https://github.com/huntlabs/hunt-entity/wiki/Pagination
Github repo:
https://github.com/huntlabs/hunt-entity
Is your work related to shark?
Fix example code:
https://github.com/huntlabs/hunt-entity/wiki/Pagination
Github repo:
https://github.com/huntlabs/hunt-entity
Hunt Entity is an object-relational mapping (ORM) framework for
dlang's database, support PostgreSQL / MySQL / SQLite.
This version added pagination for EQL's createQuery();
Example 1 for pagination:
```D
class User
{
mixin MakeModel;
@AutoIncrement
@PrimaryKey
int id;
Java code:
```java
class A extends Node {}
class B extends Node {}
class C extends Node {}
@Override public Set> getNodes() {
return new HashSet<>(Arrays.asList(
A.class,
B.class,
C.class
));
}
```
For dlang like this?
On Friday, 2 November 2018 at 14:49:00 UTC, Suliman wrote:
Entity Query Lanuage
Can't understand difference with SQL...
You can look JPQL & DQL.
EQL use Entity Object to query result.
hunt-database is a database abstraction layer for D programming
language. Support PostgreSQL / MySQL / SQLite.
The main features of this version:
1. Add Query module and new QueryBuilder
2. Remove old SqlBuilder
3. Use hunt liked code style
4. Some bugs fixed
Github repository:
entity rename to hunt-entity.
hunt-entity is an ORM for D programming language, Like java's JPA
and PHP's Doctrine2.
The main features of this release:
1. Support EQL (Entity Query Lanuage)
2. Support for ManyToMany
3. Replace SqlBuilder with QueryBuilder
4. Update hunt-database version to
On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote:
Hi! I'm the community manager for gRPC and this is awesome!
Would love to add this to our ecosystem repo. Would also be
great to have you talk about this on an upcoming community call!
Thanks,
e-mail: zoujiaq...@gmail.com
hunt-grpc is Grpc for D programming language, hunt-http library
based.
example server code:
import helloworld.helloworld;
import helloworld.helloworldrpc;
import grpc;
class GreeterImpl : GreeterBase
{
override HelloReply SayHello(HelloRequest request)
{
hunt-http is a http library, support http 1.1 / http 2.0 /
websocket server and client, support SSL / TLS channel( use
boringssl ).
1. Implement http 1.1 parser and server/client
2. Implement http 2.0 protocol(h2 / h2c) and server/client
3. Implement WebSocket protocol and server/client
4. H2C
My team want change packages name:
hunt -> hunt-framework
entity -> hunt-entity
database -> hunt-database
cache -> hunt-cache
How to do it? Must delete package before add it again?
On Tuesday, 21 August 2018 at 15:31:16 UTC, Joakim wrote:
On Sunday, 19 August 2018 at 10:11:42 UTC, 鲜卑拓跋枫 wrote:
Many thanks for your effort!
And hope the subsequent LDC releases with LLVM 7.0 will be
mature enough on AArch64 and RISC-V for production environment.
Who is actually running
On Tuesday, 17 July 2018 at 11:10:07 UTC, Suliman wrote:
On Tuesday, 17 July 2018 at 09:27:26 UTC, Brian wrote:
Hello, hunt framework fix bugs version release.
Major updates:
1. Add simplify functions
2. You can use createUrl() to create link url from
module.controller.action
3. support
Hello, hunt framework fix bugs version release.
Major updates:
1. Add simplify functions
2. You can use createUrl() to create link url from
module.controller.action
3. support date() / url() function for template engine
4. fix multi-domain use other port
5. use portgresql / mysql / sqlite on
On Friday, 13 July 2018 at 02:56:23 UTC, Heromyth wrote:
On Thursday, 12 July 2018 at 20:19:17 UTC, Brian wrote:
freebsd syscall()
https://www.freebsd.org/cgi/man.cgi?query=syscall=2
How to define it in D?
It should be fine like this:
extern (C) nothrow @nogc size_t syscall(size_t ident,
On Thursday, 12 July 2018 at 15:45:41 UTC, Joakim wrote:
On Thursday, 12 July 2018 at 13:55:58 UTC, Brian wrote:
the code is error:
extern (C) nothrow @nogc size_t syscall(size_t ident);
extern (C) nothrow @nogc size_t syscall(size_t ident, size_t
arg0);
extern (C) nothrow @nogc size_t
the code is error:
extern (C) nothrow @nogc size_t syscall(size_t ident);
extern (C) nothrow @nogc size_t syscall(size_t ident, size_t
arg0);
extern (C) nothrow @nogc size_t syscall(size_t ident, long* arg0);
long tid;
syscall(SYS_thr_self, );
writeln(tid);
Error: Function type does not match
The Z Garbage Collector, also known as ZGC, is a scalable low
latency garbage collector designed to meet the following goals:
Pause times do not exceed 10ms
Pause times do not increase with the heap or live-set size
Handle heaps ranging from a few hundred megabytes to multi
The goal of this project is to create a scalable low latency
garbage collector capable of handling heaps ranging from a few
gigabytes to multi terabytes in size, with GC pause times not
exceeding 10ms.
https://wiki.openjdk.java.net/display/zgc/Main
Be alright with D ^^
On Sunday, 24 June 2018 at 13:08:53 UTC, Rainer Schuetze wrote:
Hi,
a new release of Visual D has just been uploaded. Major changes
are
* improved Visual C++ project integration: better dependencies,
automatic libraries, name demangling
* new project wizard
* mago debugger: show vtable,
huntframework v1.1.0 is released.
Features:
* Add Task worker
* Support parameters for Acion
* Imprevo Template engine
* Imprevo entity options
* Upgrade kiss version to latest
* Upgrade Entity version to latest
* Fix bugs
source code:
https://github.com/huntlabs/hunt
hunt skeleton
On Tuesday, 19 June 2018 at 22:10:38 UTC, kinke wrote:
Hi everyone,
on behalf of the LDC team, I'm glad to announce LDC 1.10. The
highlights of this version in a nutshell:
* Based on D 2.080.1.
* Win64: Breaking ABI change by passing vectors efficiently in
registers.
* Config file
dmd latest version bug?
```sh
source/bootstrap.d(4,6): Error: only one main allowed. Previously
found main at
/tmp/dub_test_root-ad0fb2e3-6be1-4ca8-9153-e4fdd5c1b191.d(10,12)
dmd failed with exit code 1.
```
Build logs:
https://travis-ci.org/huntlabs/hunt-skeleton/jobs/389884419#L480
Like:
class A
{
string b;
string c;
}
compile-time to:
class A
{
string _b;
string c;
}
or:
class A
{
string c;
}
On Tuesday, 5 June 2018 at 13:54:25 UTC, Steven Schveighoffer
wrote:
On 6/5/18 3:25 AM, Brian wrote:
source code in github https://github.com/huntlabs/hunt/
documents in wiki https://github.com/huntlabs/hunt/wiki/
hunt framework website http://www.huntframework.com/
Is there a way to view
On Tuesday, 5 June 2018 at 08:17:30 UTC, Per Nordlöw wrote:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
We are pleased to announce an official version of hunt 1.0 ,
How is Hunt different from Vibe?
Thanks your question :)
Vibe.d like vert.x in java! It's an library.
Hunt like
On Tuesday, 5 June 2018 at 07:54:49 UTC, WebFreak001 wrote:
On Tuesday, 5 June 2018 at 07:25:33 UTC, Brian wrote:
We are pleased to announce an official version of hunt 1.0 ,
This is an important milestone release!
[...]
cool! Is the hunt-skeleton always stable? I can add it as
template to
We are pleased to announce an official version of hunt 1.0 , This
is an important milestone release!
Features:
* enhancement Action & Controller
* rebuild application config
* support static wwwroot/ path, config item is hunt.http.path
* redefine Route regex rule
* upgrade Entity to 1.4.2
On Tuesday, 5 June 2018 at 06:55:42 UTC, Joakim wrote:
On Tuesday, 5 June 2018 at 06:45:48 UTC, Adam Wilson wrote:
Hello Fellow D'ers,
As some of you know I work for Microsoft. And as a result of
the recent acquisition of GitHub by Microsoft, I have decided,
out of an abundance of caution,
On Thursday, 3 May 2018 at 10:27:47 UTC, Pasqui23 wrote:
Last commit on https://github.com/buggins/hibernated
was almost a year ago
So what is the status of HibernateD?Should I use it if I need
an ORM? Or would I risk unpatched security risks?
You can use Entity & Database library:
Entity is an object-relational mapping tool for the D programming
language. Referring to the design idea of JPA. support PostgreSQL
/ MySQL / SQLite.
## Support databases
PostgreSQL 9.0+
MySQL 5.1+
SQLite 3.7.11+
## Depends
database
## Simple code
import entity;
On Monday, 26 March 2018 at 08:50:31 UTC, Simen Kjærås wrote:
On Monday, 26 March 2018 at 08:29:31 UTC, Brian wrote:
Rust sample code:
#[cfg(name = "users")]
PHP sample code:
/*
@Table(name = "users")
*/
Java sample code:
@Table(name = "users")
How to use dlang get key name?
If I
Rust sample code:
#[cfg(name = "users")]
PHP sample code:
/*
@Table(name = "users")
*/
Java sample code:
@Table(name = "users")
How to use dlang get key name?
On Monday, 24 April 2017 at 12:17:42 UTC, Basile B. wrote:
On Monday, 24 April 2017 at 12:13:41 UTC, Basile B. wrote:
On Monday, 24 April 2017 at 11:40:04 UTC, Brian wrote:
[...]
Does DMD works with -ivh --force ?
Sorry I meant: if you install with these options.
[root@localhost
Thanks!
But, How to use x64?
zoujiaqing@Brian-XPS MINGW64 /d/Projects
$ dub init serializable -v
Using dub registry url 'https://code.dlang.org/'
Refreshing local packages (refresh existing: true)...
Looking for local package map at
C:\ProgramData\dub\packages\local-packages.json
Looking for local package map at
On Monday, 15 January 2018 at 06:22:13 UTC, Jayam wrote:
In our production server, we have only XAMPP for use to deploy
web app and mysql combinedly?
Is there any way how to deploy the vibe.d web app into XAMPP ?
You can use hunt framework, it's an full-stack web framework.
Create project:
On Friday, 5 January 2018 at 15:38:17 UTC, Binghoo Dang wrote:
On Friday, 5 January 2018 at 07:40:14 UTC, Brian wrote:
I think code style like:
~~
struct User
{
int id;
string name;
string email;
}
class ORM
{
}
auto db
On Friday, 5 January 2018 at 12:19:11 UTC, thedeemon wrote:
On Friday, 5 January 2018 at 07:40:14 UTC, Brian wrote:
I think code style like:
db.select(User).where(email.like("*@hotmail.com")).limit(10);
You need to read about templates in D, here's a good guide:
I think code style like:
~~
struct User
{
int id;
string name;
string email;
}
class ORM
{
}
auto db = new ORM;
auto users =
db.select(User).where(email.like("*@hotmail.com")).limit(10);
foreach(user; users)
{
On Sunday, 12 November 2017 at 15:57:19 UTC, kinke wrote:
Hi everyone,
on behalf of the LDC team, I'm glad to announce the first beta
for LDC 1.6. The highlights of this version in a nutshell:
* Based on D 2.076.1.
* Experimental support for dynamic codegen at runtime ('manual
JIT').
*
On Wednesday, 13 September 2017 at 04:30:24 UTC, Vadim Lopatin
wrote:
On Tuesday, 12 September 2017 at 17:14:27 UTC, Brian wrote:
dlang database library: Database abstraction layer for D
programing language, support PostgreSQL / MySQL / SQLite.
Project:
https://github.com/huntlabs/database
dlang database library: Database abstraction layer for D
programing language, support PostgreSQL / MySQL / SQLite.
Project:
https://github.com/huntlabs/database
## Database
Database abstraction layer for D programing language, support
PostgreSQL / MySQL / SQLite.
## Example
```D
import
On Thursday, 7 September 2017 at 21:14:24 UTC, bpr wrote:
On Thursday, 7 September 2017 at 20:55:22 UTC, Nordlöw wrote:
Are there any new code-generation features in LLVM 5.0 that
LDC will make use of?
Given that LLVM has direct support for coroutines since 4.0
On Friday, 1 September 2017 at 20:02:23 UTC, ag0aep6g wrote:
On 09/01/2017 07:27 AM, Brian wrote:
double [] hugeCalc(int i){
// Code that takes a long time
}
so if I do
double[][int] _hugeCalcCache;
foreach(i ; I)
_hugeCalcCache[i] = hugeCalc(i);
of course the required time is
On Friday, 1 September 2017 at 04:43:29 UTC, Ali Çehreli wrote:
On 08/31/2017 06:59 PM, Brian wrote:
> Hello, I am trying to get the most trivial example of
multithreading
> working, but can't seem to figure it out.
> I want to split a task across threads, and wait for all those
tasks to
>
Hello, I am trying to get the most trivial example of
multithreading working, but can't seem to figure it out.
I want to split a task across threads, and wait for all those
tasks to finish before moving to the next line of code.
The following 2 attempts have failed :
On Monday, 14 August 2017 at 13:19:30 UTC, Guillaume Piolat wrote:
It wouldn't be very hard to write a minimal OpenCV loader (for
example based on DerelictUtil) with only the few functions you
need in OpenCV.
Do you know of any simple examples that I could try mimic?
I've looked through
Howdy folks.
Has anyone gotten an example of using D as mechanism to read in
video files, specifically from a webcam?
I don't see any OpenCV libraries, and the example in the DCV
library that uses FFMPEG, I can't get to work (I've raised an
issue in Github here
Hunt is a high-level dlang Web framework that encourages rapid
development and clean, pragmatic design. It lets you build
high-performance Web applications quickly and easily.
1. add new routing module
2. add cache module
3. support route group
4. support access static file
Install very large deps 32bit libs .
[root@fedora Downloads]# dnf install glibc-devel.i686
libcurl.i686 libgcc.i686
Last metadata expiration check: 2:16:19 ago on Mon Apr 24
17:30:50 2017 CST.
Dependencies resolved.
OH ... NO ...
I want install dmd to my fedora 26, but I get 64bit dmd's rpm
package notic info:
[root@fedora Downloads]# rpm -ivh dmd-2.074.0-0.fedora.x86_64.rpm
error: Failed dependencies:
glibc-devel(x86-32) is needed by dmd-2.074.0-0.x86_64
libcurl(x86-32) is needed by
On Monday, 16 January 2017 at 16:47:09 UTC, Nemanja Boric wrote:
On Monday, 16 January 2017 at 16:31:41 UTC, Brian wrote:
[...]
You're missing a cast, since `this` is a reference to a
superclass.
import std.stdio : writeln;
abstract class Base(T)
{
this()
{
_this =
On Monday, 16 January 2017 at 19:31:50 UTC, Mike Parker wrote:
On Monday, 16 January 2017 at 16:31:41 UTC, Brian wrote:
No, you don't understand I want to express meaning.
other programing language is allow this.
Your code more like the old C++.
If a high-level programing language or need
On Monday, 16 January 2017 at 12:20:47 UTC, rikki cattermole
wrote:
On 17/01/2017 1:15 AM, Brian wrote:
Dlang should support such coding. What should I do?
import std.stdio : writeln;
abstract class Base(T)
{
this()
{
_this = this;
}
void hello()
{
Dlang should support such coding. What should I do?
import std.stdio : writeln;
abstract class Base(T)
{
this()
{
_this = this;
}
void hello()
{
_this.world();
}
private
{
T _this;
}
}
class Sub : Base!Sub
{
void world()
{
mixin template Bar()
{
override void func() { writeln("Bar.func()"); }
}
class Foo
{
void func() { writeln("Foo.func()"); }
}
void test()
{
Foo b = new Foo();
b.func(); // calls Foo.func()
b = new Foo();
mixin(b, Bar());
b.func(); // calls Bar.func()
}
On Sunday, 8 January 2017 at 20:30:26 UTC, Eugene Wissner wrote:
On Sunday, 8 January 2017 at 20:11:23 UTC, Brian wrote:
On Friday, 6 January 2017 at 17:48:23 UTC, Eugene Wissner
wrote:
On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote:
I would like to design features, how should I do?
On Friday, 6 January 2017 at 17:48:23 UTC, Eugene Wissner wrote:
On Friday, 6 January 2017 at 17:44:13 UTC, Brian wrote:
I would like to design features, how should I do?
coding:
class User
{
@GenerateProperty
int id;
@GenerateProperty
string name;
}
On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu
wrote:
We release a brief Vision document summarizing the main goals
we plan to pursue in the coming six months. This half we are
focusing on three things: safety, lifetime management, and
static introspection.
I would like to design features, how should I do?
coding:
class User
{
@GenerateProperty
int id;
@GenerateProperty
string name;
}
struct GenerateProperty
{
this(string propertyName)
{
propertyName = propertyName
}
On Wednesday, 21 November 2012 at 20:56:04 UTC, Masahiro Nakagawa
wrote:
On Tuesday, 20 November 2012 at 11:38:46 UTC, Tobias Pankrath
wrote:
Is there any template library like Jinja? (jinja.pocoo.org).
I'm pretty sure we can do even better by leveraging CTFE and a
precompiler, but speed is
On Monday, 31 October 2016 at 03:34:47 UTC, Brian wrote:
dlang:
http://wiki.dlang.org/Vision/2016H1
rust:
https://github.com/aturon/rfcs/blob/roadmap-2017/text/-roadmap-2017.md
Or this:
http://wiki.dlang.org/Vision/2016H2
dlang:
http://wiki.dlang.org/Vision/2016H1
rust:
https://github.com/aturon/rfcs/blob/roadmap-2017/text/-roadmap-2017.md
On Tuesday, 4 October 2016 at 13:16:35 UTC, Adam D. Ruppe wrote:
I'd put your repeated variables together in a struct, then pass
it around to the functions. At least then you pass just one
param at a time, without losing the info.
That's not a bad idea.
I have been creating "ids" to point to
Howdy folks
This might be a really stupid question, but ya know, if you don't
ask ...
So, anytime I am calling a function, I have to include everything
that the function needs all the time. My simplistic example is:
#!/usr/bin/rdmd
import std.stdio;
void test(string firstinput, string
On Friday, 23 September 2016 at 11:12:59 UTC, WebFreak001 wrote:
On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote:
the pull request:
https://github.com/google/flatbuffers/pull/3856
We are putao's huntstudio!
We help D language to develop some component support.
but, not have yours
the pull request:
https://github.com/google/flatbuffers/pull/3856
We are putao's huntstudio!
We help D language to develop some component support.
but, not have yours support???
Long before they have been submitted, but they have not been
merged into the branch, flatbuffers is a part of the
1 - 100 of 125 matches
Mail list logo