On 2019-11-14 20:50, NonNull wrote:
Greetings, Java seems to be almost a subset of D in various ways. Has
there been any work done to automatically translate Java source into D?
Yes, I'm working on a tool, JPort [1], for automatically translating
Java to D. It's not done yet and there's been
On 2019-11-16 08:13, GreatSam4sure wrote:
I am of the opinion that D is much more powerful than Java since I am
familiar with the language to some extent. I am even to start a GUI app
in java due to the fact I have no find a GUI toolkit in D that meet all
my need.
There's DWT [1], which is
there been any work done to automatically translate Java
source into D?
We ported some projects in Java by hand.
Regarding template member override. Generics in java are mainly
compile time thing that boils down to auto generated casts when
working with generic types (in bytecode
there been any work done to automatically translate Java
source into D?
We ported some projects in Java by hand.
?
I really sure of this? Can this be true
? Pls I need more clarity on this by professional in this group.
I am of the opinion that D is much more powerful than Java since
I am
Potentially relevant old thread:
https://forum.dlang.org/thread/ssdcoqhylmskfytfi...@forum.dlang.org
-stringaslist
https://www.baeldung.com/java-executor-service-tutorial
Has there been any work done to automatically translate Java
source into D?
We ported some projects in Java by hand.
With the compile time reflection capabilities of D you can
build a runtime reflection system. Therefore I would say D
there been any work done to automatically translate Java
source into D?
We ported some projects in Java by hand.
With the compile time reflection capabilities of D you can build
a runtime reflection system. Therefore I would say D has
reflection.
The other points I do not have enough
for a type in runtime, type
deduction for a template, template member override.
See:
https://stackoverflow.com/questions/4829631/unusual-generic-syntax-arrays-stringaslist
https://www.baeldung.com/java-executor-service-tutorial
Has there been any work done to automatically translate Java
source
Greetings, Java seems to be almost a subset of D in various ways.
Has there been any work done to automatically translate Java
source into D?
/javacto/
This is a java tool that uses the javac compiler to translate
java to another language. And includes a java to D code set.
It is a very visual tool and has great animation during
translation and works well while using the java debugger. I
include “How to get started with Eclipse”.
You
On Wednesday, 28 August 2019 at 08:14:25 UTC, GreatSam4sure wrote:
Good day everyone.
DWT is a library for creating cross-platform GUI applications.
It's a port of the SWT Java library from Eclipse. Currently
supported platforms are Windows, using Win32 and Linux, using
GTK.
[...]
.
[...]
I'm working on a tool do be able to automatically convert Java
code to D code [2]. It's been a while since I did any actual
work on that project. As far as I can remember, it can do a
syntactic translation of most Java code. What's remaining is
the semantic translation.
[1] http
Java
code to D code [2]. It's been a while since I did any actual
work on that project. As far as I can remember, it can do a
syntactic translation of most Java code. What's remaining is
the semantic translation.
[1] http://dsource.org/projects/dwt/wiki/Porting
[2] https://github.com/d-widget
to be linked to material, tools, and tutorial that will
be of help
I'm working on a tool do be able to automatically convert Java code to D
code [2]. It's been a while since I did any actual work on that project.
As far as I can remember, it can do a syntactic translation of most Java
code
Good day everyone.
DWT is a library for creating cross-platform GUI applications.
It's a port of the SWT Java library from Eclipse. Currently
supported platforms are Windows, using Win32 and Linux, using GTK.
What are the tools and step involved in converting a java GUI
toolkit to D2? Is it
for application
development to some extend (has a GC, fast build times and other
things that result in good productivity). Someone like me who has
spent his career with Smalltalk and Java and doesn't know a thing
about systems programming can get along with D quite easily.
Something like a D
programming can get
along with D quite easily. Something like a D for Java
developers user guide would make sense IMHO.
Well, not exactly what you are after. But there have been Java
related guides, which could use some updating and moving to the
new wiki:
http://wiki.dlang.org/Coming_From/Java
Though this post may seem long, my questions are indeed asked. I
just kinda started typing and didn't stop; I guess this is both a
question post and a vent post. Please bear with me.
Hello, I'm a hobbyist programmer, and I'm tired of the way things
are going. I'm looking for a change.
I must
On Thursday, 27 February 2014 at 10:23:40 UTC, DS6 wrote:
Okay, down to the questions I have about D:
- Why should I use D over another language? What general
benefits does it provide me, in relation to the points I made
about it above? Is it a solid base to build off of, but still
simple in
On Thursday, 27 February 2014 at 10:52:51 UTC, John Colvin wrote:
It's a flexible, well designed language. Many things that are
complex and/or slow in other languages can be written in a
readable and performant manner, with fewer nasty surprises.
I find I usually run into some nasty
On Thursday, 27 February 2014 at 22:40:36 UTC, DS6 wrote:
What exactly is the difference between C and D headers?
D does not have any separation between header and code files like
C or C++. There are files with the .di extension which are
similar, but not quite the same. What he meant is
On 02/27/2014 02:40 PM, DS6 wrote:
What exactly is the difference between C and D headers?
D code that needs to use a C library must use D bindings of that C
library. Here is Deimos, a collection of D bindings of many C libraries:
https://github.com/D-Programming-Deimos
More information:
What exactly is the difference between C and D headers?
D itself does not use headers at all. But you will need D
headers, if you want to call a C library from D. The translation
is mostly syntatic and straight forward like:
* replace #define-constants with enums
* replace macros with
On Thursday, 27 February 2014 at 22:58:40 UTC, Ali Çehreli wrote:
But of course: :)
Yeah I found that out already; I have schoolwork to do but D is
really interesting and stuff and argh.
I think one of the things I also like about D so far is the
community.
Most Java communities, when I
Also *3: Not having to make an account to post here is also nice.
I don't really like signing up for things.
On 02/27/2014 03:09 PM, DS6 wrote:
Also *3: Not having to make an account to post here is also nice. I
don't really like signing up for things.
Because this is actually a newsgroup (i.e. NNTP), pretending to be a
forum. :)
Ali
On Thursday, 27 February 2014 at 23:12:16 UTC, Ali Çehreli wrote:
Because this is actually a newsgroup (i.e. NNTP), pretending to
be a forum. :)
I could kinda tell from both the URL and the Posting to
digitalmars.D.learn line.
I've never used a newsgroup before, cool.
I meant that the programs are running. So there is a runnung
program in D and a running program in Java. What is the best way
to communicate between them?
On Sunday, September 15, 2013 14:47:24 Anton Alexeev wrote:
I meant that the programs are running. So there is a runnung
program in D and a running program in Java. What is the best way
to communicate between them?
Have them communicate via sockets just like you'd talk to a program on another
Pipes or sockets
On Fri, 13 Sep 2013 22:04:24 +0200, Anton Alexeev wrote:
I have a method in a D program which I want to call from a Java program.
What is the best way to do this?
What you need is Java JNI: http://en.wikipedia.org/wiki/
Java_Native_Interface . There are many examples how to do this in C or C+
I have a method in a D program which I want to call from a Java
program. What is the best way to do this?
On Friday, September 13, 2013 22:04:24 Anton Alexeev wrote:
I have a method in a D program which I want to call from a Java
program. What is the best way to do this?
Usually, to have two languages talk to each other, you have to have a C layer
in between. So, AFAIK, that's what you have to do,
33 matches
Mail list logo