June Daemon News out and about 7
BSDJoe writes "The June daemonnews newsletter has been posted" Included in this issue are an introduction to the ports system, a length tutorial devoted to writing writing a CAM SCSI controller driver, and a great editorial about how to attract users without dumbing down.
NP:-foo (Score:2)
Assembly and Ports (Score:2)
The only gripe I have with the ports system is that I don't always update the ports directory on my workstation(s) and sometimes I don't get the latest builds or revisions of an app I was hoping for. I don't know if one is in the works or not is a simple script or a pre-compiled utility that will check the revisions and dates of the ports stuff of the station and automatically pull down any new versions. I know this might be helpful if you want to keep an older version, but the utility could have the option to keep older versions and rename the new ones.
Anywho... something I found quite nice in this month's issue was the article on Assembly. I might not be up to par on my C/C++, but learning a bit of Assembly would definitely be worth while for me.
Re:Assembly and Ports (Score:2)
You can also fetch and run CVSup very quickly and easily (as root) by issuing pkg_add -r cvsupit, which will go get the CVSupit package (a CVSup wrapped for easy installation and use), install it, and prompt you for what to do next.
Although these instructions are specific to FreeBSD, CVSup is an excellent tool for dealing with any source tree, including the other BSDs.
HTH!
Assembly quirks? (Score:2)
Re:Assembly quirks? (Score:2)
Re:Assembly quirks? (Score:1)
Re:Assembly quirks? (Score:1)
Even memory verification aside, accessing something which is located in memory is slower than accesing a register. For instance:
mov eax, ebx
Is always faster than the single instruction:
mov eax, [ebx]
This is simply because registers are located in the processor and can be accessed in a single clock cycle, whereas even very fast cache RAM still takes a bit more than this, not to mention cache misses, et cetera.