[haiku-bugs] Re: [Haiku] #14755: Haiku Grinds to a Halt when Dribbling

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 15 Aug 2019 18:33:57 -0000

#14755: Haiku Grinds to a Halt when Dribbling
------------------------------------+----------------------------
   Reporter:  AGMS                  |      Owner:  leavengood
       Type:  bug                   |     Status:  assigned
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Servers/media_server  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:  4954
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by leavengood):

 Replying to [comment:16 cb88]:

@leavengood you may have missed but but it bears mentioning, TuneTracker
 has mentioned plans of moving away from Haiku due to lack of stability. So
 if things get fixed we may retain them otherwise they are potentially
 going away. I think stability seems to be on an uptick though at least...

 Yeah, waddleplash kind of brought me in on this when I expressed interest
 in fixing the Media Kit problems.

It's unfortunate that most all of this is C++ as this sounds like an
 ideal situation for Rust to step in and solve the buffer sharing
 problems... It makes you wish there were a C++ subset/Extension that was
 smart enough to do the same things. When such check do exist in C++ the
 developer can often accidentally just walk right around them or botch it
 up in some way or other.

 To be honest, the bug I fixed could have occurred in Rust too. It was not
 a memory leak but more of a cache invalidation bug. But Rust would
 probably improve the situation in other areas.

 Rust can sometimes be extremely and annoyingly constraining but usually
 for a good reason. As I have said before on the forums I want to make Rust
 a first class citizen in Haiku, but have quite a lot of other things I
 want or need to do before I worry about that. I also don't know how other
 Haiku developers would feel about using Rust in any core Haiku components.
 I will saying writing Rust and really thinking about ownership has made be
 a better C++ programmer. The freedom you get in C and C++ is nice but of
 course freedom comes at a cost and it is easy to make serious mistakes.
 But this argument has been made 1000 times already by Rust and C++
 evangelists :D

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14755#comment:18>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: