9 ms·
The major problem areas are those where it's economically "best" to do the computationally inefficient thing. The obvious example is the quick-to-build MVP, bu
by pjc50 7y ago
The major problem areas are those where it's economically "best" to do the computationally inefficient thing.
The obvious example is the quick-to-build MVP, but many of the bigger problems come from platform conflicts. Because we have at least five different actively uncooperating operating system platforms, it's hard to build portable native apps - so people build electron apps instead. We also use the web browser as a competitive battleground; due to coordination problems only one programming language and UI model is possible, although another is creeping in via webassembly.
Then there's the ongoing War On Native Apps. Every platform holder would love to take the 30% cut of the profits and veto which applications can run on the platform. We're left with Windows (non-app-store) and sort of MacOS (although watch out for notarisation turning into a veto in the future). And sadly this has very real benefits in malware prevention. Systems which run arbitrary code get exploited.
Beyond that there's cryptocurrency, where finding a less-efficient algorithm is a design goal to maximise the energy wasted, in order to impose a global rate limit on "minting" virtual tokens.
- bordercases 7y agoNow this is horror.
- contingencies 7y agoDon't forget the benefits of portability and the need to hire people as factors contributing to the use of higher level, generally less efficient languages: a few days back I read a description of C as a "hard to find skill these days".
- deleted 7y ago[deleted]
- zozbot234 7y agoThere are plenty of people with real skills in C working in embedded. It might even be easier to find C than C++ developers.
- mikehollinger 7y agoI challenge you to find a C “boot camp.” In fact doesn’t this point to a gap in the marketplace? Where are my “IOT ALL THE THINGS / 5G / Edge” bootcamps? Where are the “leetcode” challenges that talk about proper sampling rates for an 8-bit A/D converter, or implementing a closed loop PID in a 16-bit architecture? I suspect that that’s what the Grandparent comment is commenting on — there’s so much talking about the former and so little talking about the latter - even if every computer engineer graduating from a ABET-certified institution is these skills.
- thomascgalvin 7y ago> I challenge you to find a C “boot camp.” C isn't a language that lends itself to bootcamp-stye learning. With Javascript, you can get something on-screen in a few minutes, and even if you make mistakes, you will normally see something. It's a more forgiving environment. With C, a small error prevents compilation at all, and it's going to be a relatively long time before you're ready to progress past the "printing text to the console" stage. C is flatly harder to learn, and unless you're the kind of person who likes mental challenge, it's less rewarding than Javascript. It isn't the kind of thing you tackle because you need hirable job skills by the end of the month. There are still some excellent C tutorials out there (for example, I think Handmade Hero's[0] intro to C is good, and Handmade Hero itself gets you to the "shiny colors on the screen" stage very quickly), but HH has a different mentality than a bootcamp. HH is about learning, exploring, breaking things, and figuring them out on the fly. A bootcamp is about gathering the minimum knowledge necessary to be productive as quickly as possible. [0]: https://www.youtube.com/watch?v=F3ntGDm6hOs https://www.youtube.com/watch?v=F3ntGDm6hOs
- userbinator 7y agoA bootcamp is about gathering the minimum knowledge necessary to be productive as quickly as possible. ...and that nicely sums up the problem with software today.
- 7y ago
- detaro 7y agoLooking at the typical salaries in embedded, can't be that hard to find ...
- michaelbrave 7y agoFlutter looks promising for solving a lot of the platform conflict problems.
- deleted 7y ago[deleted]
- yoz-y 7y agoAny multi platform framework will inevitably hit the hurdle of supporting only the common denominator. For many applications this is fine, but for the sake of consistency I hope native applications will still live for a while.
- behindsight 7y agoHaving worked with React Native and Xamarin: wherever platform specific problems come up, there is some sort of "escape hatch" you can use to tailor to it. Still room for improvement but it's not so restrictive about the common denominator.
- pitaj 7y agoExcept then you have to use Dart, or call into Dart from some other language. There are many people who dislike Dart or otherwise prefer to use other languages.
- GordonS 7y agoI really feel like Flutter would have taken off so much more if Google had just used Typescript instead of using it to push Dart.
- pier25 7y agoSadly the flutter team seems more focused on mobile and web than desktop.
- PedroBatista 7y agoIt’s a bummer but the reasons are obvious. Mobile is the reason of Flutter’s existence, if they don’t win there there’s no win anywhere else.
- narag 7y agoI just realized that this situation hasn't improved much in twenty years. But the problems are really commercial (or maybe "political") not technical. Then there's the ongoing War On Native Apps. I'm no prophet, but I did predict then that the browser would have eaten all the business applications space by now. It was just obvious. Colleagues objected that the web could not match rich native programs.
- errantspark 7y agoWell it can't, but it doesn't matter in the way your colleagues thought it would. Excel is a much better product than Google Sheets, but having the better product doesn't mean having the winning product.
- Gaelan 7y agoSome times, there's one feature that's so useful it justifies the lack of many others. Google Docs is a terrible word processor compared to Word or even Pages, but being able to edit a document at the same time as someone else (with full features and little friction—IIRC Pages doesn't support Track Changes while collaborating) is so useful that I end up using Google Docs anyway.
- mettamage 7y agoYour comment also showcases how IMO a lot of software companies don't compete on tech. They compete on UX [1]. When I first came on HN and learned about YC's motto (build something users love) this idea was reaffirmed. [1] Google optimizes for a collaborative quick spreadsheet program (handy for consumers), and as other comments say, Microsoft focuses on pro spreadsheet use (e.g. finance).
- ako 7y agoI won't say that they compete on UX, more that they address different needs from different users groups. Some users need collaboration, others need niche math functions.
- zamadatix 7y agoPlenty of people make Electron apps only aiming to target a single platform it just happens to be so easy to add the others that most do it. The real problem is native platforms suck to code for or have too high a barrier of entry.
- city41 7y agoIt often seems the main target is the web, then Electron steps in to provide an “app”. Slack really comes to mind here.
- pjmlp 7y agoFor that I already have a browser installed.
- abcpassword 7y agoA browser can’t make arbitrary network calls or arbitrarily read from the local file system. This is trivial in electron.
- qwertywerty 7y ago>Beyond that there's cryptocurrency, where finding a less-efficient algorithm is a design goal to maximise the energy wasted, in order to impose a global rate limit on "minting" virtual tokens. I don't disagree with the gist of this, but from a your technical description verges on nonsense. I'm questioning if you're serious. >...finding a less-efficient algorithm is a design goal... At no point is anyone searching for an algorithm. Most mining algorithms were chosen at random or for novelty; Bitcoin uses double SHA-256, Litecoin uses scrypt, Primecoin searches for primes. >...maximise the energy wasted... Energy is wasted during mining in order to maximize security. The waste is a side effect. >...in order to impose a global rate limit... This is plain false. >..."minting"... It's called "mining". I wouldn't complain if this wasn't in quotes. The whitepaper is only nine pages, but nobody seems to read it. https://bitcoin.org/bitcoin.pdf https://bitcoin.org/bitcoin.pdf
- plerpin 7y agoThat's not true. The coins that advertise ASIC resistance have chosen algorithms which are deliberately stubborn to optimize with HW. In other words, inefficiency (=> high resource consumption) is an explicit goal.
- qwertywerty 7y agoI did forget about ASIC resistant coins. I think my general point still stands. You're making a logical leap between intentional GPU/CPU coins and inefficiency as an explicit design goal. GPU/CPU coin developers are most likely true believers in a distributed security model. They could also own GPU farms or botnets. I highly doubt developers design cryptocurrencies while dreaming of squandering global resources.
- bordercases 7y agoIf it's a real consequence of their actions that they're aware of, they're complicit in the continuance of that effect.
- g82918 7y ago
- on_and_off 7y agoElectron anecdote : I joked with a coworker that they had left their "out of office" status icon on slack in order to work in peace. Turns out that it was already removed but slack was still displaying it. ⌘ + R (refresh page shortcut) solved it.. Electron might help devs getting something out quickly but all these layers have a cost
- ses1984 7y agoClient and server side state sync is a hard problem regardless of whether your app is native. A native app wouldn't automatically handle this.
- ryacko 7y agoSome IRC clients would change the nick of the user if the user toggles that they are AFK.
- on_and_off 7y agofor some reason pretty much every time I have such an issue, command + r solves it, must be my luck
- pjmlp 7y agoThankfully not everyone is getting into Electron bandwagon.