Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Practical application of SNs #22

Open
hoytech opened this issue Jan 3, 2018 · 3 comments
Open

Practical application of SNs #22

hoytech opened this issue Jan 3, 2018 · 3 comments

Comments

@hoytech
Copy link
Contributor

hoytech commented Jan 3, 2018

Sorry I'm using this issue tracker as a place to dump cool links; maybe we should make some kind of wiki page?

Anyway see appendix S in the following paper: https://ntruprime.cr.yp.to/ntruprime-20170816.pdf

It describes a vectorised implementation of an n=32 merge-exchange net used for constant-time sorting. I have some more info on constant time applications in slides 31-33 of my (now pretty dated) presentation:

https://hoytech.github.io/sorting-networks/#slide31

@jgamble
Copy link
Owner

jgamble commented Jan 4, 2018

It's good. At the moment I view these as requests for implementations, which I definitely need to start on (two projects in the way right now). But a wiki page that listed the different types of sorting networks would be a good idea.

As long as we're on the subject, I acquired a book I never knew existed: Designing Sorting Networks, by Al-Haj Badder & Batcher. You may recognize their names.

@hoytech
Copy link
Contributor Author

hoytech commented Jan 4, 2018

Hehe yes I recognise them. I never got a copy of the book but I found a PDF of Baddar's PhD thesis online which I think had a lot of the same material.

@hoytech
Copy link
Contributor Author

hoytech commented Jul 12, 2018

DJB just released a sort-of general purpose implementation:

https://sorting.cr.yp.to/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants