logs archiveBotHelp.net / Freenode / #ada / 2015 / July / 18 / 1
Shark8
Ah, improvised eyedrops.
nerdboy
(Action) must've opened the wrong beer
lasmasdasd
i think i'm gonna loose it
GPS looks like the most bugged IDE i have ever tried
uhm
can record by array?
be
can record be array?:D
Visaoni
just around for a sec but if you mean can you have an array of records, sure. a record can also contain an array, but an array is not itself a record - if that makes sense
lasmasdasd
omg i'm so not used to ADA
i have no idea how to do things that i would normaly do in .NET or even C i didnt learn
marino
lasmasdasd: your calling it ADA gives it away
lasmasdasd
hell even plain procedural programming is more understandable for me :D
can i have something like a hashtable
that has a key (string) and value that would be some custom defined package/class/type?/record?? :D
wtp
lasmasdasd: Since you come from the .NET camp, what brought you to Ada?
lasmasdasd
i was learnig some hw stuff and working with vhdl so i thought that would be cool to learn the software language that it benifed from too
in terms of syntax and general ideas
the problem is
that vhdl uses only very limited subset of ada syntax, since you don't need that much
https://en.wikibooks.org/wiki/Ada_Programming/Containers
this looks a hastable...sort of...
:D
uhm
omg C is ugly
darkestkhan
!last
lasmasdasd: maybe your issue is that you want to do in Ada things that you would normally do in C#? (that is: you try to write C# in Ada)
sparre
lasmasdasd: Try to focus on what you want to do, rather than _how_ you would do it in .NET.
lasmasdasd: Also; the core concept in Ada is types. Records are just one kind of type.
Lucretia
(Action) has realised that where game devs are constantly bi**hing about the cost of vtable functions in C++, Ada really does trump C++ in this regard as long as no dispatching takes place, i.e. it'd just be a static function call, no vtable
discuss
specing
bla bla bla bla
bla bla bla
bla
Lucretia
bla yerself
sparre
Lucretia: Is it because it is more obvious that the cost is there in C++? Or simply because it is there more often in C++ (and Java)?
It is fun how Java and C++ programmers seem to dislike the Ada model where redispatching has to be explicit, even if it generally provides more efficient code.
jesselang
sparre/charlie5, the main issue with pO (GNAT's implementation) is that it doesn't give control over timeout/retry parameters. That, along with the fact that DSA requires that all partitions be able to connect to each other for the system to function. There's no handling of contingencies, such as intermittent or prolonged outages. That's a problem with defining and coupling your IPC/RPC so close to the compiler itself. You lose flexibi
lity to handle extreme situations.
sparre
Dedicated physical connections.
There is IIRC no requirement for a name server for a distributed application.
jesselang
Right. The name server is a design decision of pO.
pO is rather CORBA-centric, and it shows.
nerdboy
moin
sounds kinda like the redis-as-embedded-message-bus thing...
sparre
(Action) is trying to sell Ada to the oil industry. :-)
Shark8
sparre: Is it working?
specing
Have the marketting buzzwords reached a critical mass?
rtyler
sparre: that seems like a good fit, given the amount of embedded and high reliability systems they have
time is money and what not :)
(Action) wonders who here is OneWingedShark
Shark8
(Action) is
rtyler: I am OneWingedShark; what's up?
rtyler
implementing a new compiler o_O
Shark8
Yes, DBotton is as well, and I think there were a few others.
rtyler
a single new compiler or multiple?
Shark8
Multiple.
DBotton is heading in a target-LLVM direction; I'm thinking of reviving DIANA [or something similar to it] for the IR. (I have zero experience w/ codegen, so that makes me a little nervous about doing the back-end; which motivates a pretty clean separation of front- and back-ends.)
...
oliver117
http://slexy.org/view/s20qOR5s1a I wonder, why Size is not allowed to be equal to size_t'Last ..
shouldn't it be '>'?
that piece is from the x86_64 native runtime code
well obviously Size can't be larger than size_t'Last ...
Shark8
I don't know... Maybe it's there for C-Style strings? (The NUL byte.)
gthorslund
Hi #Ada! Now I've been away for a long time again. I've completed my studies and applied for a degree by the end of last month.
It's not perfect, but those interested can find my master's thesis at https://shar.es/1q9bM7
Shark8
gthorslund: Welcome back.
gthorslund
Thanks Shark8! Let's see how much I'll manage to stay around now. Now I'm off to bed.
Shark8
G'night.
« prev next »