Re: Cross platform password string encryption



pegguru@xxxxxxxxx schreef:
Ozzker wrote:
... snip...
I don't see what programming languages or platforms have to do with it
as long as they implement the same algorithms ..


I suppose my formulation is a bit sloppy in the above statement...

You can imagine what happens if a
little-endian processor reads a file of integers created by a
big-endian processor.

Yup, you're right ..

Bottom line is that if I write
a program in language X and program the same algorithm in language Y,
even running on the same computer, if I am not very careful in out data
are read from/written to disk, the two programs may not be able to
share data.

Being 'careful' when any two programs need to share data
should always be the case .. That is just a matter of knowing the languages well enough (I assumed the OP knows that, otherwise he'll first has to work on that) ..
I think your first point was stronger :-)

As computer science moves into more abstract concepts, I find that many
young programmers have very little concept of what happens at the
microprocessor level.

Maybe, but that is not always necessarily a bad thing. Depends on which
field you are in, I suppose.

Regards, Oz


.



Relevant Pages

  • Re: why learn C?
    ... i think programming is different from Software Engineering. ... then I can find other algorithms I have needed which are ... *not* part of which ever language you choose to select. ... and you will have done at least some algorithm development whether you ...
    (comp.lang.c)
  • Re: Java or C++?
    ... for the stuff we do, its the algorithms do tend to be complex, so I ... mostly because of the predictability of the language. ... where all the intervening steps are as light-weight as possible. ... developed hardware in VHDL. ...
    (comp.programming)
  • Re: Other than php/perl/lisp/c/c++/java, anybody have a favorite computer-programming language?
    ... Picking an element based on index makes sense for strings and other ... GCD and a few other algorithms depend on that and would ... on the basis of how well that language supports the functional and ... (data types part 1, mostly the types that can be used as literals ...
    (comp.programming)
  • Re: why learn C?
    ... programming beginner. ... Any language that allows subroutines is procedural based. ... you can learn about algorithms and data structures ...
    (comp.lang.c)
  • Re: Not this again...
    ... > speed when taking into account LOS and FOV algorithms for the character ... more computing power to a neural network to make it "smarter". ... The hardest bugs are in the logic. ... I don't know what language would be optimal for roguelike ...
    (rec.games.roguelike.development)