* ANN: Simple Components for Ada v4.38. Interfacing with Julia
@ 2019-01-21 17:54 Dmitry A. Kazakov
2019-01-24 1:30 ` Jerry
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry A. Kazakov @ 2019-01-21 17:54 UTC (permalink / raw)
The current version provides implementations of smart pointers, directed
graphs, sets, maps, B-trees, stacks, tables, string editing, unbounded
arrays, expression analyzers, lock-free data structures, synchronization
primitives (events, race condition free pulse events, arrays of events,
reentrant mutexes, deadlock-free arrays of mutexes), pseudo-random
non-repeating numbers, symmetric encoding and decoding, IEEE 754
representations support, streams, multiple connections server/client
designing tools and protocols implementations. It grew out of needs and
does not pretend to be universal. Tables management and strings editing.
The library is kept conform to the Ada 95, Ada 2005, Ada 2012 language
standards.
http://www.dmitry-kazakov.de/ada/components.htm
The new version provides interfacing with Julia programming language.
Julia is dynamically typed scripting language that deploys garbage
collection. It can be considered as an alternative to Python. The
bindings are dynamic, there is no overhead when Julia is not used.
Supported are:
- Loading and interpreting Julia source code
- Calling to Julia functions from Ada
- Calling Ada from Julia (no building a relocatable library required)
- Conversion from scalar Ada types to Julia types and back
- Arrays 1D, 2D, 3D (Julia has proper arrays like Ada does)
- Named and anonymous tuples
- Catching and raising Julia exceptions
- Julia's garbage collection control
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ANN: Simple Components for Ada v4.38. Interfacing with Julia
2019-01-21 17:54 ANN: Simple Components for Ada v4.38. Interfacing with Julia Dmitry A. Kazakov
@ 2019-01-24 1:30 ` Jerry
2019-01-24 17:05 ` Dmitry A. Kazakov
0 siblings, 1 reply; 3+ messages in thread
From: Jerry @ 2019-01-24 1:30 UTC (permalink / raw)
On Monday, January 21, 2019 at 10:54:39 AM UTC-7, Dmitry A. Kazakov wrote:
> - Calling Ada from Julia (no building a relocatable library required)
So this makes it possible to call Julia's numerical libraries from Ada?
Jerry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ANN: Simple Components for Ada v4.38. Interfacing with Julia
2019-01-24 1:30 ` Jerry
@ 2019-01-24 17:05 ` Dmitry A. Kazakov
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry A. Kazakov @ 2019-01-24 17:05 UTC (permalink / raw)
On 2019-01-24 02:30, Jerry wrote:
> On Monday, January 21, 2019 at 10:54:39 AM UTC-7, Dmitry A. Kazakov wrote:
>
>> - Calling Ada from Julia (no building a relocatable library required)
>
> So this makes it possible to call Julia's numerical libraries from Ada?
You can call a function from a Julia's module directly with passing
parameters and getting the result. There is sample code provided.
But the statement was reverse, that you could call an Ada subprogram
from Julia and you do not need to stuff Ada subprogram into a DLL as
Julia documentation suggests. There is a sample for that too.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-24 17:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-21 17:54 ANN: Simple Components for Ada v4.38. Interfacing with Julia Dmitry A. Kazakov
2019-01-24 1:30 ` Jerry
2019-01-24 17:05 ` Dmitry A. Kazakov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox