flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
kohlrak 12 Jun 2008, 01:53
No more giving back...
Last edited by kohlrak on 07 Aug 2008, 14:33; edited 1 time in total |
|||
![]() |
|
r22 12 Jun 2008, 02:54
For unsigned INTs radix sort is the best.
http://board.flatassembler.net/topic.php?t=5081&postdays=0&postorder=asc&start=20 The linked thread has the code I put together, I think it's still the fastest implementation available. |
|||
![]() |
|
kohlrak 12 Jun 2008, 17:07
No more giving back...
Last edited by kohlrak on 07 Aug 2008, 14:33; edited 1 time in total |
|||
![]() |
|
f0dder 12 Jun 2008, 23:19
Random number generator?
Just read /dev/random or /dev/urandom , depending on how random you want it ![]() |
|||
![]() |
|
kohlrak 13 Jun 2008, 05:01
No more giving back...
Last edited by kohlrak on 07 Aug 2008, 14:33; edited 1 time in total |
|||
![]() |
|
f0dder 13 Jun 2008, 12:33
mmap() by itself is not enough to load a shared library - but mmap() is used in the process, just like it's used on windows to load PE executables (and DLLs).
As far as I've been able to tell, the linux kernel itself doesn't have all the code to load shared libraries - as of recent (last N years) part of the stuff is implemented in (g)libc and ld.so... and you really probably are best off sticking with dlopen()/dlsym()/dlclose(). Linux is pretty different from Windows ![]() |
|||
![]() |
|
wildtollwut 13 Jun 2008, 13:01
Super scalar sample sort should be pretty fast
![]() see for example http://rw4.cs.uni-sb.de/~sewi/ssss.pdf |
|||
![]() |
|
kohlrak 14 Jun 2008, 06:59
No more giving back...
Last edited by kohlrak on 07 Aug 2008, 14:32; edited 1 time in total |
|||
![]() |
|
gunblade 15 Jun 2008, 12:40
If you are trying to load a shared library in linux, then im afraid its linker, or ugly hack (although the ugly hack will probably simply be emulating the actions of a linker in one way or another).
If you want to keep the binaries pure, dont use external shared libraries (usually written in C anyway), and simply use Format ELF Executable. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.