Send News. Want a reply? Read this. More in the FAQ.   News Forum - All Forums - Mobile - PDA - RSS Headlines  RSS Headlines   Twitter  Twitter
Customize
User Settings
Styles:
LAN Parties
Upcoming one-time events:
Chicago, IL 11/17

Regularly scheduled events

User information for SMA

Real Name SMA   
Search for:
 
Sort results:   Ascending Descending
Limit results:
 
 
 
Nickname Scottish Martial Arts
Email Concealed by request
ICQ None given.
Description
Homepage http://
Signed On Jun 16, 2002, 23:16
Total Comments 3183 (Veteran)
User ID 13410
 
User comment history
< Newer [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ] Older >


News Comments > Out of the Blue
18. Re: Morning Mobilization Mar 18, 2017, 15:20 Scottish Martial Arts
 
Started to get settled into NYC. The West Village is completely awesome. Like, the best place I've ever lived awesome, even as a Californian having to adjust to wearing snow boots and a scarf in late March. It was 80F when I got on the plane in LAX! D:

For Battlefield 1 players, this guy is across the street from my apartment: http://imgur.com/a/wHh1T

P.S. I think I'm going to have to invest in a DSLR. So many great photo opportunities around here, and I am distinctly missing manual aperture and shutter speed and longer focal length lenses which smartphone photography lacks.
 
Reply Quote Edit Delete Report
 
News Comments > Turok 2 Remaster Released
4. Re: Morning Mobilization Mar 18, 2017, 08:00 Scottish Martial Arts
 
Simon Says wrote on Mar 17, 2017, 14:44:
Is it just me or the "remaster" looks exactly like the original? Look at those textures... Common...

Compared to the N64 version, this is miles ahead. Was it remade using a modern graphics engine? No. But Turok 2 -- and it's predecessor, but Turok 2 was even worse in this regard -- was the game which started the, then yet-to-be-so-called, PC Gaming Master Race joke about "console fog". You literally couldn't see more than a few feet in front of you because the poor N64 didn't have enough video memory to be able to render more than that.

I think people tend to forget how shitty console shooters looked in the late 90s. Low-res textures and low-poly models aside, these games were being played on CRT televisions at 320x200. What they've done with this "remaster" is brought the game from late 90s console shooter to early 00s PC shooter standards (think Return to Castle Wolfenstein in terms of poly-counts and texture resolution) and then layered on some modern graphical effects, like motion blur, which is actually kind of cool, adding to your panic, when you're getting swarmed by the fast mini-dinos who don't do much damage but are hard to hit and always attack in groups.

This wasn't a remake, but as a "remaster" it's certainly improved upon a game which had some genuinely great level design. By far the best game in the series, and it was all downhill -- fast -- after this.
 
Reply Quote Edit Delete Report
 
News Comments > Deus Ex: Mankind Divided Criminal Past DLC for Linux
1. Re: Morning Mobilization Mar 17, 2017, 09:25 Scottish Martial Arts
 
Glad to hear the Mac version is coming. This game has a massive install footprint (75GB), which is simply to big to have on my 256GB Windows 10 partition. I was really surprised at how well it performs in DX12 mode on my new MacBook Pro: 30fps at High Settings. That doesn't come close to what my GTX 1070 could do, but the Radeon 460 in my new laptop seems to be handling gaming surprisingly well: everything is entirely playable, even if for the same amount of money I could have built a beast of a desktop PC. But then, my new West Village apartment doesn't really have room for a full desktop gaming PC setup, and I bought this laptop primarily as a software development machine, and a (perfectly serviceable) gaming PC a distant second.  
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
26. Re: Morning Mobilization Mar 17, 2017, 08:37 Scottish Martial Arts
 
jdreyer wrote on Mar 17, 2017, 05:30:
Second, if (and that's a big if) you are going to reboot a franchise, there are ways to do this. DO NOT do a soft fucking reboot. Jesus. Tell an original story.
The Force Awakens: NO
...
Batman Begins, X-Men First Class, Casino Royale: YES, YES, YES

Did you have complaints about The Force Awakens beyond the plot being a greatest-hits album of the original series? The prequel trilogy told an original story, but were so god awful I ceased being a Star Wars fan for a while. In contrast, TFA felt like a retelling of a story I've heard before that did just enough different, and was hitting all of its notes so perfectly, that I could call myself a fan again. Rogue One in turn left me disappointed: I loved the new, grittier take on Star Wars universe, with an emphasis on the Wars part, but the characters were so completely flat, and the plotting so muddled, that there was very little to get engaged with once you got past the unique concept. For example, the ending could have been utterly devastating, but instead it was merely surprising, simply because the characters were written to have toys made of them, not to be actual human beings you cared about.

Oh, and Casino Royale had actually been produced before, again closely following the plot of the original novel (but without the extended prologue the 2006 film added). It had been done as a made-for-TV movie for one of the major networks, around 1960 or so, and had been adapted so that the main character was 'Jimmy Bond' CIA agent, US Treasury agent Vesper Lynd, and Bond's MI6 pal Felix Leitner lending a hand from the British Crown. I haven't seen it, and I doubt it's any good, but Casino Royale had in fact been done before. Plus, there was the Woody Allen parody film.
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
24. Re: Morning Mobilization Mar 17, 2017, 01:05 Scottish Martial Arts
 
I actually bought a Deathadder Elite just this past Tuesday too. I realized I had accidentally packed my gaming mouse with my desktop, and so it's currently in a moving truck. Given that my circa 2012 Deathadder was looking a little worse for wear, I decided to just spring for a new one to tide me over for laptop gaming while I wait for my stuff to make it to NYC. I had issues with the scroll wheel about 6 months after I bought it, but then it mysteriously fixed itself and the mouse had held up pretty well since. Mostly it just looked shabby.

My laptop these days is one of the new MacBook Pros, but with a Windows 10 partition for gaming. I'm actually kind of shocked at how good the performance is. The Radeon 460 Pro isn't a match for my GTX 1070 in my desktop, but it lets me play Battlefield 1 and Doom on high settings with frame rates hovering in the mid-40s, i.e. totally playable. Plus, I checked the specs, and the CPU and memory in the laptop are actually superior to what I've got in the desktop. Paying the Apple tax fucking sucks, but having a great software development laptop that doubles as a perfectly serviceable gaming machine is pretty sweet.

Speaking of gaming while traveling, I just checked into my hotel here in Greenwich Village about an hour ago, and am now officially a New Yorker. I get the keys to my West Village apartment tomorrow. Excited!
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
23. Re: Morning Mobilization Mar 15, 2017, 22:16 Scottish Martial Arts
 
Creston wrote on Mar 15, 2017, 15:43:

$3500 rent, right?

$2950 for a 1bd/1bath... yeah, everything has its downside. Toss in brokerage fees and the security deposit and there was some definite sticker shock when it came time to get the cashier's check for move-in.
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
20. Re: Morning Mobilization Mar 15, 2017, 09:52 Scottish Martial Arts
 
Beamer wrote on Mar 15, 2017, 00:19:
Wallse? Still haven't tried it, somehow. I always forget it's there. It's always emptyish. You have another within a 6 min walk, and one that just lost a star even closer.

And crispo right there!

The Spotted Pig, with only a single Michelin star. I don't think I've ever eaten in a Michelin rated restaurant: the menu looks good so I think I'll start here (after I get my first paycheck, move-in costs for NYC have drained my non-"break glass in case of fire" bank accounts).
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
16. Re: Morning Mobilization Mar 14, 2017, 19:09 Scottish Martial Arts
 
jdreyer wrote on Mar 14, 2017, 18:36:
On the downside, there's no pr0n industry in NYC to work weekends on the side.

ROFL. Hey, I was young and needed the money! While I suppose I'm now permanently disqualified for running for political office, I don't regret the experience of doing a couple pr0n shoots: at this point in my life, it makes for a good "you won't believe what crazy shit I was up to right out of college" story.

Nice scenery in that pic. Also, the beach and the sunset were nice too.

Hehe, once I realized I had gotten a great shot, I tried to flag her down to see if she wanted me to email her a copy of the photo (or delete it if she wasn't comfortable with having been photographed), but by that point her friend had caught up with her and they were already skateboarding off down the bike path.
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
6. Re: Morning Mobilization Mar 14, 2017, 12:15 Scottish Martial Arts
 
descender wrote on Mar 14, 2017, 11:45:
I would like to stipulate that most people in NYC are nothing like the spoiled yuppie assholes you find on the upper east-side of Manhatten. Downtown LA is filled with those same exact assholes.

I used to think NYC was a cesspool of homeless beggars... but then I visited San Diego... holy shit. Talk about culture shock.

Personally, I like living where the earth doesn't try to shake me off the planet. I can deal with a few indoor days during the winter in exchange for my house not falling on my head.

Downtown LA is pretty chill these days. I mean you do have self-envisioned "Super Important People" types running about, but mostly it's a collection of diverse, interesting people going about their daily business, with great food, great street art, great architecture, and something interesting around every corner to keep you engaged. The real assholes are on the stretch of Santa Monica Boulevard that runs through Beverley Hills, i.e. the blocks around Rodeo Drive and Roxbury St: expect to be cut-off or nearly run over by assholes in Maseratis and Bentleys as you window shop in luxury stores that requires a 7 figure salary to get through the door.

As for earthquakes, I've been living in California (with a few short breaks) since the late 80s, and the only earthquake that actually felt like a natural disaster was the '89 Loma Prieta quake. I can still remember looking up from my legos, in utter shock, towards my mom, who was swooping me up and getting us under the dining room table. Due to a transformer blowing out, we didn't have power for I think 48-72 hours. But other than that, every other earthquake I've experienced has either been so minor, I haven't noticed it and/or slept through it, or the earthquake was noticeable but short and minor and didn't cause any damage. Of the noticeable earthquakes of the past 25+ years, I've probably only noticed a half-dozen.

Personally, the part of nature that's out to get us Californians isn't the San Andreas fault line, but the snowpack in the Sierra Nevadas: when it doesn't snow in the Sierras, the state doesn't have water, at least not enough for the amount of people and agriculture we have.
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
3. Re: Morning Mobilization Mar 14, 2017, 11:40 Scottish Martial Arts
 
BobBob wrote on Mar 14, 2017, 11:12:
It's not just the weather. Compared to Southern Californians, the people there seem a lot more stressed out, pushy, in your face, and take themselves far too seriously. I regularly visited Manhattan Upper East Side many years ago. I prefer our laid-back California beach culture that we have here. You too may realize that distinctive cultural difference and wish to return.

Good luck. Thumbsup


Yeah, it's been kind of bittersweet to say goodbye to my home state. I'm super excited to live and work in Manhattan but California, both NorCal and SoCal, is home. On the other hand, on Saturday, I took a trip out to the Getty Villa in Malibu as part of my goodbye to LA tour, and it took nearly two hours to get there, and nearly two hours to get home. On a Saturday. In contrast, I'm going to be a 10 minute leisurely walk from work in NYC, laundry service is available right next door, a grocery store is one block away, and the pharmacy is two blocks away. Oh, and a Michelin-rated restaurant is also two blocks away. So while the weather and less laid-back people will take some getting used to, the fact that I won't be contemplating suicide every time I get on the 405 will be a definite advantage.

That said, it's hard to say goodbye to something like this: I took this photo at Venice Beach last week
 
Reply Quote Edit Delete Report
 
News Comments > Out of the Blue
1. Re: Morning Mobilization Mar 14, 2017, 10:44 Scottish Martial Arts
 
I was supposed to fly to New York today, but the blizzard means it's going to happen Thursday instead. My job doesn't start until Monday, so things should still all work out, but I had a brief moment of panic Sunday night when the airline emailed me to say that my flight had been cancelled. In the meantime, I get to enjoy a few more days of 78F and sunny weather here in early spring Los Angeles before deplaning into sub freezing temperatures at LaGuardia. Why am I moving to NYC again?  
Reply Quote Edit Delete Report
 
News Comments > Saturday Tech Bits
17. Re: Morning Mobilization Mar 12, 2017, 10:49 Scottish Martial Arts
 
HoSpanky wrote on Mar 12, 2017, 10:21:
I'm not really in the market for a new processor yet, but currently it's still looking like Intel's gonna get my money.

Yeah, for gaming, the i7 7700k is definitely the best bang for buck right now. If you're a video editor, or software engineer, or anyone who does work that does benefit from parallelization Ryzen become a lot more compelling: if you want to stick with Intel and go beyond four cores, then you're starting to enter server CPU land, with all the attendant price increases.
 
Reply Quote Edit Delete Report
 
News Comments > Saturday Tech Bits
15. Re: Morning Mobilization Mar 12, 2017, 09:02 Scottish Martial Arts
 
Agent-Zero wrote on Mar 12, 2017, 00:39:
seems to imply that a single Ryzen processor appears to act like a dual CPU system, is that correct? thats bizarre, because I figured that multi-core CPUs were already acting like that to some degree, but i suppose it must be different in terms of how the system buses work with that

Having now read the article in full, the CCX and Infinity Fabric architecture do indeed appear to cause the Ryzen to behave as though a Ryzen chip is two 4-core CPUs on a single die. While that may sound like a distinction without a difference, it's actually quite important, and the benchmarks are clearly showing substantially more overhead for a context shift across the Infinity Fabric as opposed to a context shift within a CCX.

As you probably already know, a process is a program that has been loaded into memory and is in a runnable state. More importantly, a process has associated with it a virtual memory space, i.e. each memory address the program references is not the location in physical memory but rather a mapping to the actual physical address. Additionally, the process maintains a series of data structures containing the state of the process, i.e. the contents of the various CPU registers at a given moment of execution, among other things, allowing it to be stopped and started with the process itself none the wiser. However, if a process needs to communicate with another process, the virtualized address space means that they are effectively partitioned from one another, and while there are several different ways to handle inter-process communication, they basically all involve one or more processes blocking (waiting) on I/O calls, which slows down processing dramatically. It would be far faster if you could just share a virtualized address space, and that's what threads do: they are mini-processes that maintain their separate execution states but share their virtualized address space allowing rapid in-memory communication without resorting to high-overhead I/O calls or context switches (switching which process is actively running on a core). The downside of threads is that the shared address space makes it extremely easy to write code where the results depend on the order in which the CPU schedules threads (race condition) which leads to all sorts of subtle and hard-to-detect bugs.

What this means for our discussion is that it's possible to have parallel execution, or at least a facsimile of it, with even a single core CPU. The OS let's one process/thread run either until it hits a specific time limit (quantum) or blocks on I/O, and then the OS saves the state of the process and swaps in another one to let it run. Since CPUs execute literally billions of instructions per second, this all happens so fast that to us slow humans, it appears like the computer is doing multiple things at once. Add more cores, and you really can run more processes/threads at once. Importantly, with a HyperThreaded (Intel's term) CPU, you're still only executing one process/thread per core at any given instant, but in the case of threads, with their shared address space, architectural optimizations allow for extremely fast context switches between the threads of a process, which in turn means the CPU presents itself to the OS as having x physical cores, each composed of y (usually two) virtual cores.

The hypothesis was that the Ryzen wasn't correctly enumerating which of its virtual cores were part of the same physical core to Windows, and therefore the NT kernel wasn't scheduling threads to the right virtual core in order to leverage the AMD equivalent of HyperThreading. But the benchmarks show that isn't the case: Windows understands which virtual cores belong to which physical core, it's just that the Ryzen architecture has a heavy context shift penalty across the two CCXs. A patch to Windows will allow it to optimize for avoiding context shifts across the CCXs, but that still won't change the fact that any context shift across CCXs will be much slower than a context shift within a CCX.

Why does this happen? Without knowing the specifics of the Ryzen architecture, it has to come down to caching. Memory varies in it's speed, it's volatility, and it's price. Accordingly, on the CPU die itself you have several levels of expensive to manufacture but extremely fast memory that loses its state on power down (volatile); then you have main memory, which isn't as fast and still loses its state on power down, but is much cheaper than on-die cache memory; and finally you have persistent storage in the form of SSDs and HDDs, which are very slow to access relative to the other memory, but make up for it by being very inexpensive.

The trick for an operating system is to place the code that is most likely to be needed, and needed repeatedly, in the fastest levels of cache, so as to optimize the CPUs instruction retrieval speed (it can't execute what's still in transit over the various busses). Aside from repeatedly executed procedures and repeatedly retrieved data, the OS is probably also going to put some or all of its process bookkeeping data in some level of on-die cache, so it can minimize the time necessary to context switch between processes. Again, without knowing the specifics of the Ryzen architecture, if the two CCXs are maintaining separate, likely L3, caches, then any context switch across CCXs loses the context switch optimization which the shared cache within the CCX provides.

So where does this leave us? A patch to Windows can make the NT kernel's scheduling algorithm aware of the Ryzen context switch penalty across CCXs, and allow it to be smarter, but the penalty will still be baked into the Ryzen architecture no matter what Microsoft, or any OS developer does.

tl;dr Operating Systems leverage shared L3 caching to minimize the overhead of swapping processes and threads across multicore CPUs. Since Ryzen partitions its two CCXs, no such optimization is possible for context switches between CCXs. Windows can be patched to minimize cross CCX context switches, but when such a switch is unavoidable then there's nothing Windows can do but incur the extra overhead baked into Ryzen's architecture.
 
Reply Quote Edit Delete Report
 
News Comments > Saturday Tech Bits
7. Re: Morning Mobilization Mar 12, 2017, 00:09 Scottish Martial Arts
 
Agent-Zero wrote on Mar 11, 2017, 17:38:
Im not a Windows or OS programmer, so I have no idea how true this may be - but I would have suspected the lack of performance of new AMD chips in terms of 1080p gaming and other gaming related tasks would be more likely due to the way games themselves are coded...

It's an interplay between how parallelizable the computation is, i.e. how much work can profitably be done simultaneously, how much of the computation is actually parallelized and how well that parallelization is implemented, i.e. how the game/application is programmed, and how the operating system spreads the parallelized computation, e.g. processes and threads, across the multiple cores, and how the OS schedules those processes and threads that have been tasked to a given core.

If the same program on the same hardware produce different benchmarks for different operating systems, then you are probably seeing the results of different operating system process/thread scheduling algorithms. After all, the purpose of an operating system is to A) provide a clean abstraction of the hardware for programmers to access through an API, and, more apropos to this discussion, B) maximize the utilization of the hardware. In other words, it's an OS responsibility to schedule the CPUs workload to make best use of the hardware.

However, parallel programming is a really difficult and sticky business. Even though we've long had the ability to parallelize computation, first through software abstraction and later with the hardware itself, we still haven't found an effective, generalized approach to parallel programming that allows us to consistently yield substantial performance gains while simultaneously avoiding a set of very subtle and tricky bugs specific to parallel execution, e.g. race conditions, bad data synchronization, and deadlocks. In other words, parallel programming presents a series of unsolved computer science problems for which we only have haphazard solutions. If you ever solve this stuff, you'll definitely earn yourself an ACM Turing prize (the Nobel of computer science).

If I had to guess, the Windows 10 version of the NT kernel is using a different process scheduling algorithm than that of Windows 7, and that while that different algorithm almost certainly yielded gains in some key areas, it has led to performance loss with respect to Ryzen and certain game benchmarks.
 
Reply Quote Edit Delete Report
 
News Comments > Morning Mobilization
17. Re: Morning Mobilization Mar 8, 2017, 17:19 Scottish Martial Arts
 
Ozmodan wrote on Mar 8, 2017, 17:02:
Bullshit! Been supporting PC's and Mac's forever and there is virtually no difference. Most support calls are how to use software not OS problems. My best friend is an IBM'er and they don't even use Macs except for a few pieces of select equipment that require them. Your info is faulty.

So you're saying IBM fabricated the data they presented to the conference?

Look, I will concede to you guys currently working in IT that your anecdotes suggest that IBM's conclusions are faulty. They may well be. On the other hand, my anecdotal experience suggests that their conclusions are reasonable, and the actual data presented by IBM backs that case up. Maybe they're a special case, maybe not. My biases are such that if my employer mandated tomorrow that we were all switching to Windows 10 and we're going to start writing Win32 native apps, I would immediately begin looking for another job. Your guys's biases are such that you're gamers first, enterprise IT support second, and with those priorities, a Mac doesn't offer the performance for the first, and has traditionally been too end-consumer focused for the latter. All I can say for certain is that using Macs seems to be working out for IBM, special case or not, and that my MBP is an ideal mobile workstation for software engineering.
 
Reply Quote Edit Delete Report
 
News Comments > Morning Mobilization
13. Re: Morning Mobilization Mar 8, 2017, 16:43 Scottish Martial Arts
 
Creston wrote on Mar 8, 2017, 16:13:
Please. I have ~ 30 users that use Macs, and they open just as many, if not more, tickets as my Windows users do. Their apps are just as shitty as the Windows apps, but now you have to find another way to fix it.

I've also been trying to unlock two iPads where the users forgot their unlock codes, and literally no solution works. They won't go into recovery mode, they won't go into DFU mode, nothing. No combination of arcane button presses works. (And why can't you just boot into a simple menu where you CHOOSE which mode you want? Oh wait, Steve Jobs hated buttons. Ugh.)

I'm taking them to the Apple store tomorrow in the hopes that they can get something done.

"Ready for the enterprise." Uh-huh.

Then take it up with IBM: I'm only repeating the data-supported position they presented when explaining why increasingly they're deploying Macs over PCs. Maybe Macs do make life hell for the IT department, but that's not been IBMs experience, and they're as big a company as they get, and they've presented compelling data to make their case. As a software engineer, I could give a shit about which is easier for IT to support because it's not my job. I just need a Unix-like system to write code on, preferably with more cores, so as to speed up the highly parallelized job that is code compilation, and more memory, to support running multiple VMs for test deployments. For desktops, Linux is fine and I actually prefer it. But for laptops, spotty driver support for proprietary devices on laptops mean Linux wastes too much of my time to be a daily driver. Hence, my laptop is a Mac.

And of course my gaming machine runs Windows.
 
Reply Quote Edit Delete Report
 
News Comments > Morning Mobilization
8. Re: Morning Mobilization Mar 8, 2017, 12:28 Scottish Martial Arts
 
Timmeh wrote on Mar 8, 2017, 12:17:
Said the crack smoking apple employee

Lol, Google engineering employee actually. On my team, our workstations all run Goobuntu (Google's custom version of Ubuntu), and our laptops are all... 15" MacBook Pros, with a few opting for 13" MacBook Airs.
 
Reply Quote Edit Delete Report
 
News Comments > Morning Mobilization
6. Re: Morning Mobilization Mar 8, 2017, 11:42 Scottish Martial Arts
 
Ozmodan wrote on Mar 8, 2017, 11:38:
Huh? Was over at IBM yesterday, not a MAC in sight. I have never heard an IBM'er ever mention Mac's as a replacement for PC's. What koolaid are you drinking?

Top Google hit for "IBM mac savings"

The article enumerates the reasons for lower cost of ownership better than I could, but the bottom line is that they require less man hours to administrate, have fewer security holes, and generate fewer user support tickets. Extend that across an enterprise, and the economic viability of Macs for enterprise becomes clear. As for not seeing a Mac anywhere, IBM's global workforce "only" has 100,000 of them deployed right now.
 
Reply Quote Edit Delete Report
 
News Comments > Morning Mobilization
2. Re: Morning Mobilization Mar 8, 2017, 11:31 Scottish Martial Arts
 
There are reasons to complain about Macs and about Apple in particular. But IBMs well documented switch to Macs for enterprise resulting in drastically lower total cost of ownership makes it pretty clear that Macs are a viable enterprise computing device. They cost more up front, but they also require vastly less user and technical support, leading to smaller IT budgets overall.

Windows is great for gaming, and Microsoft dominates the enterprise market share, but market dominance does not imply the best, or even a good, choice for enterprise computing. Anecdotally, with my East Coast move next week, I'll no longer be able to zip over to my parents house to provide tech support, and as a consequence I've switched them to Apple products. My mom, a dictionary definition of a techphobe, for whom the switch to digital ruined her hobby of photography because she was too lacking in confidence to use a computer, is now an active iPhone photographer, editing and ordering prints from her Mac, with only a little bit of up front training on my part. My dad, for whom I was constantly removing malware (presumably acquired from porn sites lol), suddenly doesn't need my help anymore. Extend that to an enterprise, and suddenly the Apple platform is a viable alternative to Microsoft, for which you need an entire dedicated department, i.e. the Help Desk, just to keep your worker bees able to do their job.
 
Reply Quote Edit Delete Report
 
News Comments > Sunday Tech Bits
14. Re: Morning Mobilization Mar 6, 2017, 18:03 Scottish Martial Arts
 
A few thoughts:

History Lesson

Win32 is the combined systems/applications programming interface developed for Windows 95. I've not studied the Windows 9x kernel in any depth (no longer relevant) but my understanding is that it was a hugely improved version of the MS-DOS kernel, with things like true multiprogramming (i.e. multitasking), virtual address spaces and memory management, etc. but was nevertheless still built on the (shaky) foundation of MS-DOS. Individual applications no longer took the whole system down, but individual drivers sure did.

Parallel with the development of Win9x, Microsoft developed the Windows NT kernel, a fresh start, influenced by some of DEC's operating systems for their VAX series of computers (NT and some of the VAX OSes shared a lead developer). By the time MS was ready to drop the Win9x kernel and completely switch to the NT kernel (with the release of Windows XP), the Win9x line of operating systems had been hugely commercially successful, and not having backwards compatibility would have killed any chance of XP being adopted. Accordingly, the Win32.dll became a wrapper library for NT system libraries and NT kernel sys calls, so as to maintain backwards compatibility. Despite attempts to gradually replace Win32 with things like the .NET Framework, Win32 has stubbornly stuck around, and will likely never go away.

Win32 as an API

Win32 is a colossal piece of shit from a software engineering perspective.

Functions with 14 parameters are not uncommon. Some functions trap to kernel mode, i.e. are sys calls and incur additional performance overhead, while others are handled entirely in user space, yet which are which is not fully documented and changes from version to version of Windows. Functions rarely do one thing and do it well and simply (perhaps THE essential principle of software engineering), but instead do many things through as complex a mechanism as you can imagine.

The API operates at mixed levels of abstraction, handling everything from process and thread creation and management, memory management, and low-level I/O, to GUI programming, windows management, and user event handling. Compare this with Linux or macOS, where low-level sys calls are provided by the Linux and Mach kernels (respectively), and various APIs are layered on top in increasing levels of abstraction, so that systems programmers can use one API to deal with systems programming concerns and end user application programmers can use another API, further up the stack, (like the macOS/iOS Cocoa/Cocoa Touch framework) to deal with application programmer concerns.

Win32 sucks, but we're stuck with it.

UWP as an API

I don't have any direct experience with .NET or UWP, so I can't comment on it's quality as an API, but it is difficult for me to imagine it being worse than Win32. To the extent that UWP improves the programmer's experience developing for Windows, then it might also means Windows development might be something I'd be willing to consider (as opposed to being an impetus for suicide).

UWP as a Walled Garden

Microsoft would be fucking retarded to let UWP become the basis of building a walled garden. Likewise, they would be committing suicide if they dropped Win32: there's simply too much software, both legacy and current, running on it. Microsoft has been acting smarter as of late, so there's reason to hope that UWP simply becomes a better end-user applications level API that makes Windows software development more palatable to the engineers tasked with doing it. On the other hand, Microsoft's history gives plenty of precedent for assuming that they'll do the stupid, shoot-self-in-the-foot thing.
 
Reply Quote Edit Delete Report
 
3183 Comments. 160 pages. Viewing page 5.
< Newer [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 ] Older >




Blue's News is a participant in Amazon Associates programs
and earns advertising fees by linking to Amazon.



footer

Blue's News logo