HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dmcgill50

no profile record

Submissions

Thinking Fast and Slow Author Passes Away

npr.org
1 points·by dmcgill50·2 lata temu·0 comments

comments

dmcgill50
·w zeszłym miesiącu·discuss
In Apple’s defense, your company name is MITM. Man In The Middle certainly falls on one side of the perception line, don’t you think?
dmcgill50
·7 miesięcy temu·discuss
North Star is used to orient, when you’re lost. This makes sense for Microsoft. They’ve been in the wilderness for a while.
dmcgill50
·w zeszłym roku·discuss
This is just one more turtle up. In college, I took a class where they taught us how to code in Assembler. I haven't looked at Assembler until this morning and here is a summary of my 5 minutes of work.

Here's an overview of what we've done:

1. *Created Assembly Code for Apple Silicon*: We wrote ARM64 assembly code specifically for your Apple M1 Max processor running macOS, rather than x86 assembly which wouldn't work on your architecture.

2. *Explained the Compilation Process*: We covered how to compile and link the code using the `as` assembler and `ld` linker with the proper flags for macOS on ARM64.

3. *Addressed Development Environment*: We confirmed that you don't need to install a separate assembler since it comes with Apple's Command Line Tools, and provided instructions on how to verify or install these tools.

4. *Optimized the Code*: We refined the code with better alignment for potential performance improvements, though noted that for a "Hello World" program, system call overhead is the main performance factor.

5. *Used macOS-Specific Syscalls*: The assembly code uses the appropriate syscall numbers and conventions specific to macOS on ARM64 architecture (syscalls 4 for write and 1 for exit).

This gives you a basic introduction to writing assembly directly for Apple Silicon, which is quite different from traditional x86 assembly programming.
dmcgill50
·2 lata temu·discuss
Until a business owner can prompt and get what they want, the industry is still alive. It’ll be more like Who Moved my Cheese than there isn’t any cheese at all.
dmcgill50
·2 lata temu·discuss
It's at the bottom. Next to the download button