Re: generating self-contained dlls: sf or swiftx?

From: David McClain <dbm_at_refined-audiometrics.com>
Date: Sun, 31 Jan 2010 03:02:43 -0700

Okay, not fair... that troika took me about 18 months from start to finish. That works out to around 6 man-months each, figure 30-40 KLOC in each module of the three. We don't have that kind of time for a simple challenge...
So try this one instead: SRP-6 Secure Remote Password protocol for authenticated login between client and server. You will need to be able to generate a 1024-bit prime number of the form P = 2*N+1, find a decent sized primitive root to get good bit mixing in the exponentiation routines, provide two socket connections that initiate this protocol off the bat, and provide the SHA256, MD5, and AES-128 for the protocol.

Attached PNG (if it makes it through, otherwise I'll post the exchange protocol on my web site). That page describes the interchange between client and server. As a shared pass phrase lets use "Forth / Lisp Challenge". This ought to take a few days at most, if you have to develop the encryption routines. Otherwise, it should take no more than an hour or so.

-- Binary/unsupported file stripped by Ecartis --
-- Type: image/png
-- File: Screen shot 2010-01-31 at 03.01.56 .png

-- Attached file included as plaintext by Ecartis --

On Jan 31, 2010, at 01:26 AM, Elizabeth D Rather wrote:

> David McClain wrote:
>> ...
>>
>> But there are certain problem domains where Forth is most applicable, =
>> and others where it is not. The height of compiler technology has been =
>> achieved in languages like OCaml and Haskell. For moderately complex =
>> languages you could certainly slog your way through and come up with a =
>> passable system all written in Forth, but the time it would take would =
>> be orders of magnitude longer, except in very narrow niches -- such as =
>> when writing an Assembler for a foreign machine where you want to =
>> Meta-Compile Forth for it. I have never seen shorter Assemblers than =
>> those developed in Forth.
>>
> I would love an opportunity to test that assertion on a challenge rather
> more complex than a "mere assembler".
>
> Cheers,
> Elizabeth
>
> --
> ==================================================
> Elizabeth D. Rather (US & Canada) 800-55-FORTH
> FORTH Inc. +1 310-491-3356
> 5155 W. Rosecrans Ave. #1018 Fax: +1 310-978-9454
> Hawthorne, CA 90250
> http://www.forth.com
>
> "Forth-based products and Services for real-time
> applications since 1973."
> ==================================================
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and
> bug reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

Dr. David McClain
dbm_at_refined-audiometrics.com

----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun Jan 31 2010 - 02:03:09 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 09-Feb-2012. Archive updated nightly.