Tag: abi

65 votes
4 answers
1.7K views
Why does Windows64 use a different calling convention from all other OSes on x86-64?

AMD has an ABI specification that describes the calling convention to use on x86-64. All OSes follow it, excep

avatar
Rufus
0 1 0 9
asked 07 September, 2021
54 votes
4 answers
2K views
What are the calling conventions for UNIX & Linux system calls (and user-space functions) on i386 and x86-64

Following links explain x86-32 system call conventions for both UNIX (BSD flavor) & Linux: http://www.int

avatar
Rufus
0 1 0 9
asked 07 September, 2021
57 votes
21 answers
600 views
Generate a random point within a circle (uniformly)

I need to generate a uniformly random point within a circle of radius R. I realize that by just picking a uni

avatar
Wilber
0 1 0 9
asked 07 September, 2021
65 votes
2 answers
2.2K views
How do SO_REUSEADDR and SO_REUSEPORT differ?

The man pages and programmer documentations for the socket options SO_REUSEADDR and SO_REUSEPORT are different

avatar
Thurman
0 1 0 9
asked 07 September, 2021
55 votes
13 answers
1.8K views
Call Python function from MATLAB

I need to call a Python function from MATLAB. how can I do this?

avatar
Juliane
0 1 0 9
asked 07 September, 2021
50 votes
13 answers
1.6K views
Boolean method naming readability

Simple question, from a readability standpoint, which method name do you prefer for a boolean method: public

avatar
Tuan
0 1 0 9
asked 07 September, 2021
60 votes
10 answers
1.4K views
Difference between API and ABI

I am new to Linux system programming and I came across API and ABI while reading Linux System Programming. Def

avatar
Fabian
0 1 0 9
asked 07 September, 2021
63 votes
9 answers
630 views
How to calculate probability in a normal distribution given mean & standard deviation?

How to calculate probability in normal distribution given mean, std in Python? I can always explicitly code my

avatar
Forrest
0 1 0 9
asked 07 September, 2021
51 votes
30 answers
2.7K views
How can I check for an active Internet connection on iOS or macOS?

I would like to check to see if I have an Internet connection on iOS using the Cocoa Touch libraries or on mac

avatar
Lashawna
0 1 0 9
asked 07 September, 2021