|
Kind of terrible languages to try and compare, Java assumes the programmer is stupid and takes away features present in other languages so they won't be misused (e.g. operator overloading, unsigned variables), and on the other hand Ruby is the most flexible language I know of (you even can redefine syntax to some extent as it runs...it's kind of scary actually).
But honestly with this article you could pretty much replace Java with any strongly typed compiled language (e.g. C#, C++) and Ruby with any dynamically typed scripting language (e.g. Python, Javascript) and the article still works mostly (the naming thing maybe not).
|
|
|
|
|
I’m going to show you how to get started writing 6502 assembly language. The 6502 processor was massive in the seventies and eighties, powering famous computers like the BBC Micro, Atari 2600, Commodore 64, and the Nintendo Entertainment System. Bender in Futurama has a 6502 processor for a brain. Even the Terminator was programmed in 6502. It’s a dead language isn’t it? Well, yeah, but so’s Latin. And they still teach that. Q.E.D.
|
|
|
|
|
One question I get a lot is, “are your dotfiles published anywhere?” For some reason, people want to know how my computer is configured. What’s the secret sauce that keeps me productive? As programmers we are voyeur-tinkerers. We study our colleagues’ work environments and adjust our own in response. What works for them might work for us too. The next time you adjust a setting, think twice.
|
|
|
|
|
The software production process has several major “inventory” accumulation points, itself. Stuff accumulates at those points and ends up wasting a lot of time and money. Let’s go over the three places most inventory accumulates. A place to keep your stuff while you go out and code more stuff.
|
|
|
|
|
Microsoft's Tami Reller has announced that Windows 8 will Release to Manufacturing (RTM) in the first week on August, with a release in late October to retail stores. Speaking at the company's Worldwide Partner Conference in Canada, Reller revealed that the company is "on track" to finishing the final copy of Windows 8 in early August. Are you ready?
|
|
|
|
|
For electronics, smaller is almost always better. Moore's Law—which says that the amount of transistors one can cram into a given amount of space tends to double about every eighteen months—still holds roughly true for NAND flash. There's a lot happening with solid state storage, and a lot more set to happen—but some serious problems need to be solved first. 640k was never enough for anyone.
|
|
|
|
|
Corporate customers, the backbone of RIM’s business, are fortifying contingency plans so they won’t be affected by a possible breakup of the BlackBerry-maker or other setbacks. With millions of employees connecting to the office through mobile e- mail, companies have been eager to establish a fallback or replacement plan. A gracious goodbye?
|
|
|
|
|
Many of the things people associate with iPad were already common for us in the old Internet Tablet times. I was getting my morning news on the 770 with Google Reader just like I now do with Pulse on an Android tablet, and I was sharing my location with friends via Plazes like people now do with Foursquare. The only difference is that back then the tablets were for a bit more exclusive club of Linux enthusiasts. Tales of future past.
|
|
|
|
|
Although not all inclusive by any means, thought it was an interesting read for comparison/brief history-sake of a couple of popular multi-platform frameworks (Qt and wxWidgets).
Considering the number of questions regarding available UI tools/frameworks posted to the CP site, thought I'd share here.
http://www.fprimex.com/compare/qt-wx.html[^]
Thanks to the author for taking the time to blog about this, Brent Woodruff.
|
|
|
|
|
I wonder why GTK+ wasn't mentioned.
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
Hi, author of the linked blurb here. GTK+ wasn't mentioned because they have never really yet taken off on Mac OS X. At the time I was working with these toolkits, the requirements set forth stipulated that the application on each platform had to be essentially indistinguishable from a "native" application. Even at this stage, native GTK on OS X appears to little more than a curiosity pursued by a small group rather than a supported platform; it is not as feature rich and (I don't think) you can use the full toolkit. The community there is fairly content to have OS X users load X to run ports. I don't feel strongly either way, but that is the current state of things.
|
|
|
|
|
Welcome to CodeProject...
|
|
|
|
|
I would have to agree with your comments regarding wxWidgets lack of an inherent application form builder. I was an early adopter of wxWidgets back in the 90s and this was a source of frustration to me, considering I had some ability to do this with MFC.
Oh, and welcome to Code Project.
|
|
|
|
|
Eero is a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It features a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It is inspired by languages such as Smalltalk, Python, and Ruby. Try this if you've run out of square brackets.
|
|
|
|
|
On your journey through x86 Assembly, you will come across the term, "registers" constantly. Registers are the main part of Assembly, because they are one of the main components of the CPU. The CPU, or Central Processing Unit is one of the many hearts of a computer. The CPU has one huge job, to process everything. Yes, everything. This looks to be an interesting tutorial series.
|
|
|
|
|
This tutorial confused me.
I'm an assembly programmer.
|
|
|
|
|
That's only because it's really weird.
I did x86 assembly a while ago.
|
|
|
|
|
harold aptroot wrote: This tutorial confused me.
In what way?
=====
\ | /
\|/
|
|-----|
| |
|_ |
_) | /
_) __/_
_) ____
| /|
| / |
| |
|-----|
|
=====
===
=
|
|
|
|
|
The paragraph that start "Now for our last obstacle for this tutorial, registers" is the weirdest explanation of registers I've ever read. When I was reading it, my mind was in a state of total confusion.
|
|
|
|
|
|
"It will also feel violated if the data it finds has a shade of mauve."
|
|
|
|
|
It makes a fundamental error right away. I also hate cute technical writing. (i.e. "Whoa, what's that star?")
The article sucks horribly. For example:
"...these groups are called registers."
"Usually for arithmetic there is a register called ax"
"If I were to add two numbers, both would have to be in different registers."
|
|
|
|
|
Corporate APIs are good for the corporations that own them, and bad for everyone else. I would be reluctant to develop on any corporate API unless I was prepared to have my work completely deleted or obviated or usurped by the platform vendor. You really don't have any power. However it's impossible to avoid them. But try to. And don't be a crybaby when you get hurt. Consume free APIs at your own risk.
|
|
|
|
|
There is a lot going on in the JavaScript world these days. It can be easy to forget that the vast majority of JavaScript developers today haven’t heard of any of the newest tools, and in fact, they likely aren’t even equipped to try these tools. This post is going to be an attempt to simply address some of the low hanging fruit out there, and try to bring together a few different concepts that a developer should understand before they go out and try to tackle something like Backbone.js or Ember.js. Small moves, Ellie, small moves.
|
|
|
|
|
Pwnie Express is happy to announce the initial release of Raspberry Pwn! Security enthusiasts can now easily turn their Raspberry Pi into a full-featured security penetration testing and auditing platform! This fully open-source release includes many of the most popular testing tools. It may be small, but it packs a punch.
|
|
|
|