Your code seems rather nice.
That said, here are some remarks of a purely stylistic nature :-) :
- You can use "foreach" instead of "for" to simplify your loop
statements over arrays and other collections:
auto array = [1, 2, 3];
foreach (item; array) {
writeln (item);
}
I haven't tried it, but here is an idea to target the JVM:
- use ldc `-output-ll` option to generate LLVM IR.
- use the LLJVM backend to generate some Jasmin assembly code
from the LLVM IR ( as described on
https://github.com/davidar/lljvm)
- link with the LLJVM linker.
This may produce some
On Monday, 25 November 2019 at 19:48:46 UTC, GreatSam4sure wrote:
On Monday, 25 November 2019 at 18:28:55 UTC, H. S. Teoh wrote:
On Mon, Nov 25, 2019 at 12:15:42PM +, Joseph Rushton
Wakeling via Digitalmars-d-announce wrote: [...]
[...]
I'm probably not the intended audience here, but jus
tile-qt with Qt 4.8+ uses invalid pixmaps.
My fix: adding in generic/tileQt_QApp.cpp line 60, 1st line of
TileQt_CreateQApp() :
QApplication::setGraphicsSystem("native");
The native theme is not used on the scrollbars nor on the menus (and a
few other widgets).
On 05/05/2014 12:03 AM,
I have made a fork of QTD, the Qt bindings for D, to get it to work with
dmd 2.066:
https://github.com/remy-j-a-moueza/qtd/tree/dmd-2.066
I have only made it to build on Linux (32 bit Ubuntu 14.04) with nearly
no testing.
I haven't updated the examples either, so lots of them are not comp