1500+ entries in 0.289s
a111: Logged on 2017-11-12 23:39 mircea_popescu: does an
ada lisp ~even exist~ as far as anyone knows ?
spyked: on Get(Char),
ada (at least gnat) seems to consume everything but linefeeds (even control characters such as EOT)
spyked: e.g.
ada I/O is not especially suited for this task, because it reads either characters or full lines; and reading characters doesn't eat newlines, so gotta rely on shell buffering for sane interaction.
spyked: right now the thing does a whole lot of consing (e.g. even when parsing), to avoid using
ada run-time. but yeah, not posted, I'm talking about ~non-existing item.
spyked: I'm also keeping the idea of potentially embedding in other
ada projects (e.g. adacoin?) in mind. but so far wrestling the ffa aspects were enough of a challenge. oh, and there's no gc yet, the thing leaks memory like hell. but that's not its biggest problem.
spyked: in other news, I've been using most of my spare cycles lisping in
ada. should be able to wrap up a blog post sharing a very minimal prototype (sane implem. of repl doing nothing but basic ops) in a few weeks. what I've got now adheres to most of ffa constraints. the current version isn't very clean, but getting there...
☟︎ diana_coman: in other things: I have been playing around with keccak and in particular with PeterL's
ada implementation; as far as I can see it conforms to Version 3.0 keccak reference but I'm not sure re testing; any known test vectors for it? (the test vectors on current keccak's site seem to be for sha3)
phf: spyked: r5rs and tinyscheme are not the right places to start on the other, non-
ada end, i'd recommend looking at lisp in small pieces. you can tease out the theory out of tinyscheme, but it's definitely easier not to get bogged on accidentals if you start from theory
☟︎ a111: Logged on 2017-09-16 02:57 PeterL: by the way, I stuffed the keccak
ada stuff (and, speaking of OAEP, here is one of those too) into
https://github.com/PeterMLambert/keccak since I don't have my own server up yet
a111: Logged on 2016-12-27 22:14 mircea_popescu: course since the nsa consulting work for minigame is going to produce
ada rsa, it might be an idea to have an ~
ada~ tmsr crypto lib.
mod6: but as far as I can tell, there is no way to do that in
ada. the general thing i've seen out on the web is that you must write the output of the shell command to a file, then read it back in.
mod6: Another thing worth the mention is that my
ada-vtron shells out to gpg - which adds some time as well. one thing I think that would help is if I could figure out how to capture the shell command output directly back into the application instead of having to write to a file, then read the file back into the program.
mod6: To close the loop here a bit, the vtron stuff I've been doing in
ada is a lot faster now than it was -- just needed to get some better loop control.
mircea_popescu: mod6>
Ada Field Report: 1) Perl is fast. <<< dat discreet trollage
mod6:
Ada Field Report: 1) Perl is fast. 2) Working with Strings.Fixed, oofda. 3) Verify Seals works!
mod6: <+shinohai> Just sitting here with my Baroness hoping you haz good news re: trb or
ada experiments? << ah, just trying to catch up on this 2nd megal0g
shinohai: Just sitting here with my Baroness hoping you haz good news re: trb or
ada experiments?
a111: Logged on 2017-09-12 23:12 mircea_popescu: and finally 3. the item there described is not exactly a function. it rather something i'd call a mechanism, a discrete item that does a fully defined thing. as we're looking more and more through
ada eyes and constant time things and so on, a study of these mechanisms as an distinct category will prolly be useful. somewhere between conway's cells and commandline utils, they are.
mircea_popescu: and finally 3. the item there described is not exactly a function. it rather something i'd call a mechanism, a discrete item that does a fully defined thing. as we're looking more and more through
ada eyes and constant time things and so on, a study of these mechanisms as an distinct category will prolly be useful. somewhere between conway's cells and commandline utils, they are.
☟︎ mod6: it serves multiple purposes; a more readable 'v' (perhaps even faster/better?), a project for me to gain proficiency in
ada. etc.
mod6:
ada vtron being built
PeterL: keep in mind I am just learning
ada as I do this, I feel like there might be a more efficient way to do some of the things (like the type conversions)
PeterL:
http://btcbase.org/log/2017-09-02#1709989 << I was reading through the keccac documents, got about 90% of it implemented in python, then said this is ugly and horribly inefficient, I should try
ada, and have been leaning
ada the past couple weeks
☝︎ spyked: hm. actually,
ada is used in real-time, so no gc
spyked: the question is rather which subset is suitable for building in hardware, and I guess this reduces to bounds checking and maybe other critical run-time parts (does
ada have gc?)
spyked: also, there's the memory model. lisp machine "cells" are very elegant, while algol-like languages seem pretty muddy on that part. ftr, I have never seriously programmed in
ada (closest thing to it was pascal)
spyked: IMHO could be separated from "compilation" (could as well be part of
ada assembler, or "program loader" if there's such a thing).
shinohai: 4.9.4 was what I had to use for
Ada stuff, though I admit I'm not far down that path yet
trinque: I guess
ada wants 4.9.4 though, was it?
mike_c: what's the intended purpose for the bitcoin pieces? you going to port the client to
ada?
mod6: i've had to learn
ada just to keep up & read the thing. help test where I can.
PeterL: like I said, prototype, if it works then can be ported to using
ada (at least that is my idea)
mircea_popescu: but i only asked for
ada chip in sense of, cpu instruction set ==
ada language.
mircea_popescu: for the same money you could know 0f is if or whatever the fuck,
ada instruction.
phf: i suspect it's more about the choice of data structures. for one there are no allocs (very much in the spirit of ascii's
ada explorations), so he probably has a lot of mempools, some byte compression and possibly bit twiddling. i've not read the second book yet, because i still haven't compiled the damn thing outside of the reservation
mod6: been adventuring in
ada a bit recently.
mod6: [17:32:00 mod6@obsd: ~/
ada/fact]% gnatmake ffa ffa_fact
shinohai: I retardedly did the same thing trinque during one of my earlier attempts w/
ada ave1: it will build adacore's gpl 2015 by default, cd into dir, run ./
ada-build.sh /absolute/build/dir
deedbot: asciilifeform rated ave1 1 at 2017/05/18 13:13:06 <<
ada lurker
ave1: plus add
ada to the languages to build
ave1: copy gcc-interface-* to gcc-4.9-*/gcc/
ada/gcc-interface (so rename of dir)
ave1: copy gnat-gpl-*/src/ad to gcc-4.9-*/gcc/ (so you get an
ada dir under gcc)
mircea_popescu: or stand up a log bot, or whatever. run a trb node. run the
ada implementation passed around recently of a big number calculator and produce 655356! to compare with the given values.
mod6: never did, that always seems to work. can't figure out why it says "gcc: error: language
ada not recognized"