Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Tell me if I'm being stupid...

Tell me if I'm being stupid...

Scheduled Pinned Locked Moved The Lounge
javascriptc++comsecuritybusiness
39 Posts 19 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M MikeCO10

    I'd answer your question in a language agnostic manner. You're not being stupid, but being cautious. To me, whether you need to be that cautious or not is entirely up to you. You mention that it's a 'personal' project with no time constraints. In the pure sense of that, you can throw caution to the wind and have fun! But, if the definition of personal means that you might hope that it turns into an MVP down the road, I'd stay with the tried and true. Aside from being the shiny object, would Zig get you where you want to be that much faster? Along with realizing that it may never get to 1.0. Sometimes the back of your head has the right answer even though your eyes may see it another way :)

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #30

    MikeCO10 wrote:

    To me, whether you need to be that cautious or not is entirely up to you.

    Good point. Think I'm just in over worry mode, because that's what good times are made of. :laugh:

    MikeCO10 wrote:

    But, if the definition of personal means that you might hope that it turns into an MVP down the road, I'd stay with the tried and true.

    Good point. This project is personal to me, but it still needs to function as if it were not. I'll never resale it as I do not want to support it, but it needs to be rock solid no different than a commercial app.

    MikeCO10 wrote:

    Aside from being the shiny object, would Zig get you where you want to be that much faster? Along with realizing that it may never get to 1.0. Sometimes the back of your head has the right answer even though your eyes may see it another way

    You speak from experience. :) I'll admit I did get caught up in the new shiny object thing a bit since AFAIK there hasn't been a viable "C 2.0" as it were until now IMO. I'm pretty sure they're serious enough to take it to 1.0, but yeah you're right... either way it's a gamble.

    Jeremy Falcon

    1 Reply Last reply
    0
    • P Peter Jamieson

      Do you have time/energy to do both Zig and C, side-by-side? Could be some useful results from that, both for you and others, and if you start seeing problems on the Zig side, you've got a fallback.

      J Offline
      J Offline
      Jeremy Falcon
      wrote on last edited by
      #31

      Good question... not sure I do have the energy. :laugh: If I had to pick one (to do both) though I'd have to stick with C. Zig ships with a C translator to Zig but nothing exists the other way around.

      Jeremy Falcon

      1 Reply Last reply
      0
      • J Jeremy Falcon

        Mike Hankey wrote:

        1. Is time a factor?

        Yes and no. No in the fact I don't have a deadline, but I'm not gonna do this is in assembly. :laugh:

        Mike Hankey wrote:

        1. Is this a personal project of for client/

        Personal. I'd never use Zig in the enterprise just yet. It's too young and the docs/books aren't out there. Which means it would be harder to find and train devs on it. Maybe in 10 years, but definitely not now.

        Mike Hankey wrote:

        Problem was the project manager selected BETA software to run the plant.

        :wtf:

        Mike Hankey wrote:

        We spent months debugging their software and in the end cost me a marriage, no lose there but the company got sued.

        Ha ha ha ha ha. To that point, I'd never use a language I can't unit test in. Fortunately, I can unit test in C and Zig.

        Mike Hankey wrote:

        Upshot is: If you have the time for ZIG to evolve and mature, use it if there are constraints I'd say go with what you know.

        I do as I can at least do things C-style for now. I think I'm just having a hard time of letting go of my old buddy... sitting back in the corner saying "did you forget about me? sniff sniff" :laugh:

        Mike Hankey wrote:

        Just my two sense. :)

        Great points man.

        Jeremy Falcon

        B Offline
        B Offline
        Bill_M
        wrote on last edited by
        #32

        I would throw out one other consideration that we sometimes overlook at the beginning of a project: Language performance is sometimes (sometimes) misleading. Yes, a language with garbage collection does not fit a situation with real time requirements. But if you break your work up into transactions, for the sake of a white board, where is the time spent? You mentioned network requests. Those can typically run forever compared to most of the processing between. I'm not recommending Python, but why do folks use it? It's got to be at the far end of slow. Development is fast, but that may not make up for the slowness. Oh, got large matrices? Lots of matrix math? It's the choice. Languages such as GO and Swift often compensate for their performance flaws with access to great algorithm libraries and debug tools. For myself, I always want a good development and debug environment. Also, you identified one important requirement: whatever language you choose, it needs to be able to call out to C libraries. If you meet this last requirement, then it seems that you are good to go. Good luck and wishing you fun times with your project.

        J 1 Reply Last reply
        0
        • B Bill_M

          I would throw out one other consideration that we sometimes overlook at the beginning of a project: Language performance is sometimes (sometimes) misleading. Yes, a language with garbage collection does not fit a situation with real time requirements. But if you break your work up into transactions, for the sake of a white board, where is the time spent? You mentioned network requests. Those can typically run forever compared to most of the processing between. I'm not recommending Python, but why do folks use it? It's got to be at the far end of slow. Development is fast, but that may not make up for the slowness. Oh, got large matrices? Lots of matrix math? It's the choice. Languages such as GO and Swift often compensate for their performance flaws with access to great algorithm libraries and debug tools. For myself, I always want a good development and debug environment. Also, you identified one important requirement: whatever language you choose, it needs to be able to call out to C libraries. If you meet this last requirement, then it seems that you are good to go. Good luck and wishing you fun times with your project.

          J Offline
          J Offline
          Jeremy Falcon
          wrote on last edited by
          #33

          Great points all around.

          Bill_M wrote:

          Good luck and wishing you fun times with your project.

          Thanks man.

          Jeremy Falcon

          1 Reply Last reply
          0
          • J Jeremy Falcon

            You can challenge it all you want. That means nothing to me. Now, I'm just gonna assume you're not flat-out lying about this little CTO thing you got in your bio... But, if you reread the post, I mention needing to handle web requests. Now, can you imagine the need to able to parse a body response that many or may not be what you anticipated? Ever use the web before, where people say they're RESTful but they're not... especially in error conditions? I could go on, but you already missed the entire point of the post man. :|

            Jeremy Falcon

            C Offline
            C Offline
            charlieg
            wrote on last edited by
            #34

            breath Jeremy. :)

            Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

            J 1 Reply Last reply
            0
            • C charlieg

              breath Jeremy. :)

              Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #35

              Ok ok, I'll go crawl back into my corner. :laugh: :laugh: :laugh:

              Jeremy Falcon

              C 1 Reply Last reply
              0
              • J Jeremy Falcon

                Ok ok, I'll go crawl back into my corner. :laugh: :laugh: :laugh:

                Jeremy Falcon

                C Offline
                C Offline
                charlieg
                wrote on last edited by
                #36

                lol, you are clearly passionate about what you are doing. I recognize the psych profile.

                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                J 1 Reply Last reply
                0
                • C charlieg

                  lol, you are clearly passionate about what you are doing. I recognize the psych profile.

                  Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #37

                  You know me well, man. :-O

                  Jeremy Falcon

                  1 Reply Last reply
                  0
                  • J Jeremy Falcon

                    Bruh... bro... dude... You uh, eggshells much?

                    Jeremy Falcon

                    T Offline
                    T Offline
                    thewazz
                    wrote on last edited by
                    #38

                    Uh, brohan, from someone who doesn't give a crap either way, he could be saying the same to you.

                    J 1 Reply Last reply
                    0
                    • T thewazz

                      Uh, brohan, from someone who doesn't give a crap either way, he could be saying the same to you.

                      J Offline
                      J Offline
                      Jeremy Falcon
                      wrote on last edited by
                      #39

                      I'm sure you feel better now, but nope... try again dude.

                      Jeremy Falcon

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups