August 08

On Thursday, 8 August 2024 at 20:23:02 UTC, Sergey wrote:

>

On Thursday, 8 August 2024 at 20:20:11 UTC, Chris Piker wrote:

>

(the rest is D).

D in space when? :)

Unfortunately I'm only the ground segment, so D's not going to space today. But you never know what the future holds. (I did notice this the other night, https://wiki.osdev.org/D_Bare_Bones ...interesting.)

Back on Earth, I do hope my D based telemetry parser helps out a lot of missions over time. Btw, std.sumtype and dpq2 were notably useful in the work. Shout-outs to Paul and Denis are definitely in order. They get free beer from me if I'm ever lucky enough to run into either of them.

August 08

FYI, the code has been merged into the main branch already:

https://github.com/py2many/py2many/tree/main/pyd

On Thursday, 8 August 2024 at 20:20:11 UTC, Chris Piker wrote:

>

On Friday, 12 July 2024 at 18:07:50 UTC, mw wrote:

>

I have made basic py2many.pyd work at language/syntax level in my dlang fork:

https://github.com/mw66/py2many/tree/dlang

The following examples works now:

https://github.com/mw66/py2many/tree/dlang/tests/expected

py2many/ 13:56:23$ ls ./tests/expected/*.d
./tests/expected/bubble_sort.d
...

Outstanding! Thanks for the work! (Apologies for my slow response. I've been back on a C project for a while and didn't notice your posts.)

I will definitely make use of this when D is back atop the stack, should be about three weeks from now. One of my core support services still has about 20% python (the rest is D). Will be nice to convert the remaining 20%.

August 10

On Wednesday, 24 April 2024 at 19:50:45 UTC, Chris Piker wrote:

>

is anyone aware of any tools that generate an abstract syntax tree which could then be converted to somewhat equivalent D code?

Just keep in mind that dependence on such a method might cause you to overlook potential higher level transformations between the two languages; especially since they have vastly different feature-sets, and D is a language where you have to consider value vs reference semantics, whereas Python… uhh… makes my head hurt.

Does any of this code happen to be open-source?

August 15

On Saturday, 10 August 2024 at 11:10:01 UTC, IchorDev wrote:

>

Does any of this code happen to be open-source?

The initial code I'd like to convert isn't open-source yet, though it will have to be soon. NASA is big on open source these days. The logic being, the public paid for development, so the public should get to see it, and in the case of analysis software, verify it.

Looking down the road, the second and more difficult conversion on the horizon is currently still a CGI web-service: dasFlex. That one will take more careful attention as I'll likely go with a fiber based model and will likely require a fully manual re-write, though it is an example of work-a-day application code for a converter to chew on.

December 03

You might want to check out Mojo. It’s great for modernizing Python code and offers high performance with Python interoperability

December 03

On Tuesday, 3 December 2024 at 12:36:22 UTC, johnwalker wrote:

>

You might want to check out Mojo. It's great for modernizing Python code and offers high performance with Python interoperability

Mojo is interesting, though note that 'the language is evolving rapidly and source stability is not guaranteed':
https://docs.modular.com/mojo/faq/#whats-the-mojo-versioning-strategy

1 2 3
Next ›   Last »