Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 18:32:01 UTC Bernie Bernie

    macOS is more popular among Go developers than Windows, but somehow Windows is a more common target platform.

    Unsurprisingly, Linux has become the dominant platform for Go deployment (for *any* deployment?)

    From the latest Go Developer Survey:
    https://go.dev/blog/survey2022-q2-results

    #programming #golang
    #linux #windows #mac

    In conversation Thursday, 08-Sep-2022 18:32:01 UTC from mstdn.io permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      Go Developer Survey 2022 Q2 Results - The Go Programming Language
      An analysis of the results from the 2022 Q2 Go Developer Survey.
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 19:50:26 UTC Bernie Bernie
      in reply to
      • penguin42

      @penguin42 yes and yes.

      In conversation Thursday, 08-Sep-2022 19:50:26 UTC permalink
    • penguin42 (penguin42@mastodon.org.uk)'s status on Thursday, 08-Sep-2022 19:50:28 UTC penguin42 penguin42
      in reply to

      @codewiz I hadn't expected that much IoT for Go; interesting.
      (It's weird to have a 'select as many as required' for a 'primarily use')

      In conversation Thursday, 08-Sep-2022 19:50:28 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 22:55:28 UTC Bernie Bernie
      in reply to
      • Christian Horn

      @globalc Fast, but error-prone C++... Could be a little less error prone if we moved to C++20 more aggressively. Rust is still used sparingly, mostly due to infra issues that make it hard to build Rust code.

      In conversation Thursday, 08-Sep-2022 22:55:28 UTC permalink
    • Christian Horn (globalc@chaos.social)'s status on Thursday, 08-Sep-2022 22:55:29 UTC Christian Horn Christian Horn
      in reply to

      @codewiz What are you actually most in contact with, working around sensor data on space related requipment? Fast but error prone C, or something higher which is protecting more from overflows but has a tendency to be slower?

      Looking at our RHEL distro, I basically still see the 2 movements: C/asm for the kernel, and Python and other higher things for areas where ease of maintennance and being protected from pitfalls like overflows is more important.

      In conversation Thursday, 08-Sep-2022 22:55:29 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 22:57:39 UTC Bernie Bernie
      in reply to
      • Christian Horn

      @globalc The main Linux desktops being written mostly in C is perhaps the biggest architectural mistakes we made. Microsoft moved aggressively to C++ since the 80's (ok, perhaps a bit too early), and macOS was Objective C long ago, now Objective C++ and Swift.

      In conversation Thursday, 08-Sep-2022 22:57:39 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 23:04:28 UTC Bernie Bernie
      in reply to
      • Christian Horn

      @globalc C is too low-level for large GUI apps, which is why Firefox, Chrome and OpenOffice are all written in C++.

      Gnome's reluctance to fully embrace C++ resulted in a messy stack of glib / gtk / gobject. There are wrappers (gtkmm, PyGTK, Vala and even JavaScript), but there's a scaey amount of plain C at the foundation level.

      In conversation Thursday, 08-Sep-2022 23:04:28 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 23:06:41 UTC Bernie Bernie
      in reply to
      • Christian Horn

      @globalc Perhaps the Gnome devs will jump directly from C to Rust... Hopefully abandoning Vala and JavaScript, which I see as half-baked attempts to complement C with something more agile, but even less type-safe.

      In conversation Thursday, 08-Sep-2022 23:06:41 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Thursday, 08-Sep-2022 23:15:01 UTC Bernie Bernie
      in reply to
      • Christian Horn

      @globalc To be fair, KDE has its own array of problems, with Qt being an ancient C++ codebase filled with anti-patterns: deep hierarchies, virtual hooks, custom containers, string-based signals, awkward ownership model...

      Modern #KDE moved to QML heavily for applets and settings panels, which is essentially JavaScript, CSS and a text-based templating language which isn't HTML for some reason.

      I'm sure QML is nicer than old-school Qt C++, but less robust than modern C++ and Rust.

      In conversation Thursday, 08-Sep-2022 23:15:01 UTC permalink
    • penguin42 (penguin42@mastodon.org.uk)'s status on Friday, 09-Sep-2022 14:52:59 UTC penguin42 penguin42
      in reply to
      • Christian Horn

      @codewiz @globalc Yeh, it's not pleasent; they end up with building their own idea of Objects; and a lot of other open source projects then have to build their own object systems as well (I work on QEMU and it has a lot of it). gtk-rs4 isn't too bad - but it's still very much of a feal of a wrapper; it's not clear how to fit GUI lifetimes in with Rust's idea.

      In conversation Friday, 09-Sep-2022 14:52:59 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Friday, 09-Sep-2022 15:06:21 UTC Bernie Bernie
      in reply to
      • penguin42
      • Christian Horn

      @penguin42 @globalc I read that all GUI bindings for Rust suffer from object lifetime mismatch.

      Qt seems particularly difficult to adapt because of its QObject ownership model. Essentially, it's a tree in which parents free their children, but it doesn't always correspond to the hierarchy for layout, and things get tricky when you create and detach objects more dynamically.

      Last time I looked, there weren't any production-quality crates for Qt...

      In conversation Friday, 09-Sep-2022 15:06:21 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Saturday, 10-Sep-2022 06:45:13 UTC Bernie Bernie
      in reply to
      • collappsar

      @collappsar macOS Server has been around for over 20 years, but it failed to gain any significant market share from Linux and Windows. Earlier this year, Apple finally admitted that they're discontinuing it:
      https://en.wikipedia.org/wiki/MacOS_Server
      #macOS #apple

      In conversation Saturday, 10-Sep-2022 06:45:13 UTC permalink

      Attachments

      1. MacOS Server
        macOS Server, formerly Mac OS X Server and OS X Server, is a discontinued series of Unix-like server operating systems developed by Apple Inc., based on macOS and later add-on software packages for the latter. macOS Server added server functionality and system administration tools to macOS and provided tools to manage both macOS-based computers and iOS-based devices. Versions of Mac OS X Server prior to version 10.7 “Lion” were sold as complete, standalone server operating systems; starting with Mac OS X 10.7 “Lion,” Mac OS X Server (and its successors OS X Server and macOS Server) have been offered as add-on software packages, sold through the Mac App Store, that are installed on top of a corresponding macOS installation.macOS Server at one point provided network services such as a mail transfer agent, AFP and SMB servers, an LDAP server, and a domain name server, as well as server applications including a Web server, database, and calendar server. The latest version of macOS server only includes functionality related to user and group management, Xsan, and mobile device management through profiles. On April...
    • collappsar (collappsar@fediverse-lite.com)'s status on Saturday, 10-Sep-2022 06:45:14 UTC collappsar collappsar
      in reply to
      @codewiz It's like like there are Mac servers in the cloud or anything people run. It's always going to be Linux or Windows.
      In conversation Saturday, 10-Sep-2022 06:45:14 UTC permalink
    • Tenno Seremel, La ĉiela ombro (tennoseremel@mstdn.io)'s status on Saturday, 10-Sep-2022 08:10:03 UTC Tenno Seremel, La ĉiela ombro Tenno Seremel, La ĉiela ombro
      in reply to

      @codewiz String-based signals are not required now, from what I remember, no? :blobcatthinking:

      In conversation Saturday, 10-Sep-2022 08:10:03 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Saturday, 10-Sep-2022 18:54:11 UTC Bernie Bernie
      in reply to
      • Tenno Seremel, La ĉiela ombro

      @tennoseremel Ah! Did they switch to std::function?

      In conversation Saturday, 10-Sep-2022 18:54:11 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Saturday, 10-Sep-2022 18:56:27 UTC Bernie Bernie
      in reply to
      • Tenno Seremel, La ĉiela ombro

      @tennoseremel I also saw that now they're discouraging the Java-style iterators in favor of regular STL iterators. If only they replaced QString in favor of std::string or std::u8string...

      In conversation Saturday, 10-Sep-2022 18:56:27 UTC permalink
    • Tenno Seremel, La ĉiela ombro (tennoseremel@mstdn.io)'s status on Saturday, 10-Sep-2022 18:59:34 UTC Tenno Seremel, La ĉiela ombro Tenno Seremel, La ĉiela ombro
      in reply to

      @codewiz https://doc.qt.io/qt-6/signalsandslots.html#a-small-example

      > QObject::connect(&a, &Counter::valueChanged, &b, &Counter::setValue);

      In conversation Saturday, 10-Sep-2022 18:59:34 UTC permalink

      Attachments

      1. Signals & Slots | Qt Core 6.3.2
    • Tenno Seremel, La ĉiela ombro (tennoseremel@mstdn.io)'s status on Saturday, 10-Sep-2022 19:02:01 UTC Tenno Seremel, La ĉiela ombro Tenno Seremel, La ĉiela ombro
      in reply to

      @codewiz From what I remember std::string's Unicode support is rather bare-bones. Too early for that yet (probably).

      In conversation Saturday, 10-Sep-2022 19:02:01 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Saturday, 10-Sep-2022 19:58:58 UTC Bernie Bernie
      in reply to
      • Tenno Seremel, La ĉiela ombro

      @tennoseremel It's (implicitly) utf-8, the only encoding that mat you need today unless you're making an email client. Go and Rist also have utf-8 strings, although with some level of validation.

      In conversation Saturday, 10-Sep-2022 19:58:58 UTC permalink
    • Bernie (codewiz@mstdn.io)'s status on Saturday, 10-Sep-2022 21:36:15 UTC Bernie Bernie
      in reply to
      • Tenno Seremel, La ĉiela ombro

      @tennoseremel Ah, but I guess the QML stuff uses the string-based bindings because sometimes I see errors of non-existent signals in plasma logs, which can only happen dynamic binding.

      In conversation Saturday, 10-Sep-2022 21:36:15 UTC permalink
    • Tenno Seremel, La ĉiela ombro (tennoseremel@mstdn.io)'s status on Sunday, 11-Sep-2022 09:43:22 UTC Tenno Seremel, La ĉiela ombro Tenno Seremel, La ĉiela ombro
      in reply to

      @codewiz Try doing string manipulation and you'll see that API coverage is abysmal.

      In conversation Sunday, 11-Sep-2022 09:43:22 UTC permalink
    • Tenno Seremel, La ĉiela ombro (tennoseremel@mstdn.io)'s status on Sunday, 11-Sep-2022 09:44:05 UTC Tenno Seremel, La ĉiela ombro Tenno Seremel, La ĉiela ombro
      in reply to

      @codewiz Maybe it's Qt5?

      In conversation Sunday, 11-Sep-2022 09:44:05 UTC permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.